Add simple test suite.

This commit is contained in:
Jeff Garzik
2016-07-29 16:24:02 -04:00
parent 4e996af1b1
commit 379dc16c5e
6 changed files with 33 additions and 1 deletions

12
test-fail.sh Executable file
View File

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