sqlfun/test-ok.sh
2019-01-05 11:21:09 -05:00

13 lines
134 B
Bash
Executable File

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