Fix canonizer test programs

This commit is contained in:
Johan Wikman
2017-12-27 15:01:44 +02:00
parent 1908faf150
commit c6e0d1f33c
2 changed files with 5 additions and 4 deletions

View File

@ -48,6 +48,7 @@ int main(int argc, char** argv)
qc_setup("qc_sqlite", NULL);
qc_process_init(QC_INIT_BOTH);
qc_thread_init(QC_INIT_BOTH);
infile = fopen(argv[1], "rb");
outfile = fopen(argv[2], "wb");

View File

@ -1,5 +1,5 @@
#! /bin/sh
if [[ $# -lt 4 ]]
if [ $# -lt 4 ]
then
echo "Usage: canontest.sh <logfile name> <input file> <output file> <expected output>"
exit 0