From 4a73877b4d56caed03d383fb4d38347a9774046f Mon Sep 17 00:00:00 2001 From: Jason Stover Date: Thu, 27 Oct 2005 19:25:23 +0000 Subject: [PATCH] Fixed blank replacement --- tests/expressions/epoch.sh | 6 +----- tests/expressions/variables.sh | 5 ++--- tests/expressions/vectors.sh | 5 ++--- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/tests/expressions/epoch.sh b/tests/expressions/epoch.sh index 245322ac..c6e7f1a7 100755 --- a/tests/expressions/epoch.sh +++ b/tests/expressions/epoch.sh @@ -139,7 +139,7 @@ $SUPERVISOR $here/../src/pspp --testing-mode $TEMPDIR/epoch.stat > $TEMPDIR/epoc activity="compare results" perl -pi -e 's/^\s*$//g' $TEMPDIR/epoch.out -diff -b $TEMPDIR/epoch.out - < true YRMODA(1,1,1) = YRMODA(1901,1,1) => true YRMODA(12,1,1) = YRMODA(1912,1,1) => true @@ -154,7 +154,6 @@ DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true DATE.DMY(1,1,100) => sysmis - YRMODA(0,1,1) = YRMODA(1900,1,1) => true YRMODA(1,1,1) = YRMODA(1901,1,1) => true YRMODA(12,1,1) = YRMODA(1912,1,1) => true @@ -169,7 +168,6 @@ DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true DATE.DMY(1,1,100) => sysmis - YRMODA(0,1,1) = YRMODA(1900,1,1) => true YRMODA(1,1,1) = YRMODA(1901,1,1) => true YRMODA(12,1,1) = YRMODA(1912,1,1) => true @@ -184,7 +182,6 @@ DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true DATE.DMY(1,1,100) => sysmis - YRMODA(0,1,1) = YRMODA(1900,1,1) => true YRMODA(1,1,1) = YRMODA(1901,1,1) => true YRMODA(12,1,1) = YRMODA(1912,1,1) => true @@ -199,7 +196,6 @@ DATE.DMY(1,1,70) = DATE.DMY(1,1,1970) => true DATE.DMY(1,1,87) = DATE.DMY(1,1,1987) => true DATE.DMY(1,1,99) = DATE.DMY(1,1,1999) => true DATE.DMY(1,1,100) => sysmis - YRMODA(0,1,1) = YRMODA(1900,1,1) => true YRMODA(1,1,1) = YRMODA(1901,1,1) => true YRMODA(12,1,1) = YRMODA(1912,1,1) => true diff --git a/tests/expressions/variables.sh b/tests/expressions/variables.sh index 444274e9..b4bfd450 100755 --- a/tests/expressions/variables.sh +++ b/tests/expressions/variables.sh @@ -97,8 +97,8 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/variables.stat > $TEMPDIR/va if [ $? -ne 0 ] ; then fail ; fi activity="compare results" -perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - < $TEMPDIR/vect if [ $? -ne 0 ] ; then fail ; fi activity="compare results" -perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <