1
0
Fork 0
mirror of https://github.com/jezhiggins/arabica synced 2025-01-15 15:40:56 +01:00
arabica/tests/XSLT/xslt_test_and_check.sh

13 lines
199 B
Bash
Executable file

#!/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
exit 1