pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/tests/bugs/t-test.sh


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/tests/bugs/t-test.sh
Date: Fri, 21 Jan 2005 07:00:07 -0500

Index: pspp/tests/bugs/t-test.sh
diff -u pspp/tests/bugs/t-test.sh:1.2 pspp/tests/bugs/t-test.sh:1.3
--- pspp/tests/bugs/t-test.sh:1.2       Thu Jan  6 12:55:45 2005
+++ pspp/tests/bugs/t-test.sh   Fri Jan 21 11:59:40 2005
@@ -5,6 +5,7 @@
 
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -48,7 +49,7 @@
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/rnd.sps <<EOF
+cat > $TESTFILE <<EOF
 DATA LIST LIST /id * a * .
 BEGIN DATA.
 1 3.5
@@ -66,7 +67,7 @@
 
 #The syntax was invalid.  Therefore pspp must return non zero.
 activity="run program"
-$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/rnd.sps > /dev/null
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE > /dev/null
 if [ $? -ne 1 ] ; then fail ; fi
 
 pass;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]