sqlfun/test-ok.sh
Jeff Garzik 0a18c5ef1a Begin conversion of stdout data to JSON stream.
Tested with tst-create*.sql new tests.
2019-01-04 23:15:46 -05:00

13 lines
152 B
Bash
Executable File

#!/bin/sh
for testfn in $srcdir/ok*.sql $srcdir/tst-*.sql
do
cat $testfn | ./sql
if [ $? -ne 0 ]
then
echo "Failed on $testfn"
exit 1
fi
done