diff options
Diffstat (limited to 'tester.in')
-rwxr-xr-x | tester.in | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -9,13 +9,17 @@ # data files, if any, are in $srcdir. # -if test -f test.sql; then - $top_builddir/db-driver test.sql +# Globbing returns files in alphabetic order. +# +for f in `echo *.sql`; do + if test -f $f; then + $top_builddir/db-driver $f - if test $? -ne 0; then - exit 1 + if test $? -ne 0; then + exit 1 + fi fi -fi +done echo ./driver --options-file "$top_builddir/db.options" |