arabica/tests/XSLT/xslt_test_and_check.sh

14 lines
199 B
Bash
Raw Normal View History

2010-01-09 22:25:52 +01:00
#!/bin/sh
./xslt_test -table > test-run.csv
MISMATCH=`diff test.csv test-run.csv | wc -l `
if [ 0 -eq $MISMATCH ]
then
exit 0
fi
echo "TEST OUTPUT HAS CHANGED"
diff test.csv test-run.csv
2010-01-09 22:25:52 +01:00
exit 1