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"
|
2010-01-10 23:29:21 +01:00
|
|
|
diff test-run.csv test.csv
|
2010-01-09 22:25:52 +01:00
|
|
|
exit 1
|