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

15 lines
148 B
Bash
Executable File

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