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-12 01:03:49 +01:00
|
|
|
diff test.csv test-run.csv
|
2010-01-09 22:25:52 +01:00
|
|
|
exit 1
|