7 if [ "$mode" = "init" ] ; then
9 echo Initializing
test outputs
in $OUTDIR
12 echo Running regression tests
15 mkdir
-p test
/out test
/tmp
16 for file in test
/*.sql
; do
17 basename=${file#test/}
18 _build
/src
/cli.native
-no-header -params named
-gen xml
$file > $OUTDIR/${basename%.sql}.xml ||
{ echo FAILED
$file; exit 2; }
21 [ "$mode" = "init" ] ||
diff --strip-trailing-cr -u test
/out test
/tmp