sqlfun/test-fail.sh
2016-07-29 16:24:02 -04:00

13 lines
136 B
Bash
Executable File

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