pspp-cvs
[Top][All Lists]
Advanced

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

[Pspp-cvs] Changes to pspp/tests/command/autorecod.sh


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/tests/command/autorecod.sh
Date: Tue, 18 Jan 2005 06:31:55 -0500

Index: pspp/tests/command/autorecod.sh
diff -u pspp/tests/command/autorecod.sh:1.3 pspp/tests/command/autorecod.sh:1.4
--- pspp/tests/command/autorecod.sh:1.3 Tue Feb 17 05:38:31 2004
+++ pspp/tests/command/autorecod.sh     Tue Jan 18 11:31:45 2005
@@ -3,6 +3,8 @@
 # This program tests the autorecode command
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
+
 
 here=`pwd`;
 
@@ -46,7 +48,7 @@
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/prog.sps <<EOF
+cat > $TESTFILE <<EOF
 /* Tries AUTORECODE on some random but similar strings of characters.
 data list /x 1-5(a) y 7.
 begin data.
@@ -73,7 +75,7 @@
 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="test output"




reply via email to

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