[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/tests/bugs/get.sh
From: |
John Darrington |
Subject: |
[Pspp-cvs] Changes to pspp/tests/bugs/get.sh |
Date: |
Wed, 13 Apr 2005 06:10:17 -0400 |
Index: pspp/tests/bugs/get.sh
diff -u pspp/tests/bugs/get.sh:1.2 pspp/tests/bugs/get.sh:1.3
--- pspp/tests/bugs/get.sh:1.2 Fri Jan 21 11:59:40 2005
+++ pspp/tests/bugs/get.sh Wed Apr 13 10:09:59 2005
@@ -1,7 +1,7 @@
#!/bin/sh
# This program tests for a bug which caused
-# the second procedure after GET FILE to corrupt it's output
+# the second procedure after GET FILE to corrupt its output
TEMPDIR=/tmp/pspp-tst-$$
@@ -49,7 +49,7 @@
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/prog.sps <<EOF
+cat > $TESTFILE <<EOF
DATA LIST LIST NOTABLE /location * editor * shell * freq * .
BEGIN DATA.
1.00 1.00 1.0 2.00
@@ -75,11 +75,14 @@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
+
activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/prog.sps
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
+
+
activity="compare output"
diff -b -B -w $TEMPDIR/pspp.list - << EOF
LOCATION EDITOR SHELL FREQ
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] Changes to pspp/tests/bugs/get.sh,
John Darrington <=