Add simple test suite.
This commit is contained in:
12
test-fail.sh
Executable file
12
test-fail.sh
Executable 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
|
||||
|
Reference in New Issue
Block a user