6 echo Running regression tests
9 for file in test
/*.sql
; do
10 basename=${file#test/}
11 .
/_build
/default
/src
/cli.exe
-no-header -params named
-gen xml
"$file" > "$OUTDIR/${basename%.sql}.xml" ||
{ echo "FAILED $file"; exit 2; }
14 if ! git rev-parse
--git-dir > /dev
/null
; then
16 elif git
diff --no-ext-diff --quiet --exit-code "$OUTDIR" ; then
20 git status
-uno -s "$OUTDIR"