Fix canonizer test programs
This commit is contained in:
@ -48,6 +48,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
qc_setup("qc_sqlite", NULL);
|
qc_setup("qc_sqlite", NULL);
|
||||||
qc_process_init(QC_INIT_BOTH);
|
qc_process_init(QC_INIT_BOTH);
|
||||||
|
qc_thread_init(QC_INIT_BOTH);
|
||||||
|
|
||||||
infile = fopen(argv[1], "rb");
|
infile = fopen(argv[1], "rb");
|
||||||
outfile = fopen(argv[2], "wb");
|
outfile = fopen(argv[2], "wb");
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
if [[ $# -lt 4 ]]
|
if [ $# -lt 4 ]
|
||||||
then
|
then
|
||||||
echo "Usage: canontest.sh <logfile name> <input file> <output file> <expected output>"
|
echo "Usage: canontest.sh <logfile name> <input file> <output file> <expected output>"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user