Rewrite PSPP output engine.
[pspp-builds.git] / tests / command / use.sh
index 18b66f0f158054209c6b9eec653c08c2a062b663..b6bc661ffdff590e7b8546dea0bae594e425a9c9 100755 (executable)
@@ -84,19 +84,18 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="check results"
-perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff  -b $TEMPDIR/pspp.list - << EOF
- X
---
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
+diff -c $TEMPDIR/pspp.csv - << EOF
+Table: Data List
+X
+1
+2
+3
+4
+5
+6
+7
+8
+9
 10
 EOF
 if [ $? -ne 0 ] ; then fail ; fi