sqlfun/test/test-fail.sh
2024-02-12 21:07:48 +01:00

15 lines
150 B
Bash
Executable File

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