X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fmatch-files.sh;h=bb4729391cbd9e248bcd3924ae9ec0b3a74dc852;hb=9074ccc083d5d68f0d3a2843106165a6d99ae1c6;hp=092c49ebc30d033be65302d7fbba1be892e01dab;hpb=2feb80cc7e27079c77255ee8ab6a9aa373980abb;p=pspp diff --git a/tests/command/match-files.sh b/tests/command/match-files.sh index 092c49ebc3..bb4729391c 100755 --- a/tests/command/match-files.sh +++ b/tests/command/match-files.sh @@ -113,9 +113,9 @@ A B C D INA INB EOF # Test nonparallel match and table lookup. -dla="data list notable file='a.data' /a b c 1-3 (a)." +dla="data list notable file='a.data' /A B C 1-3 (a)." sa="save outfile='a.sys'." -dlb="data list notable file='b.data' /a b c 1-3 (a)." +dlb="data list notable file='b.data' /A B C 1-3 (a)." sb="save outfile='b.sys'." for types in ff ft; do type1=file @@ -134,21 +134,21 @@ $dla $sa $dlb $sb -match files $type1='a.sys' /in=ina /$type2='b.sys' /in=inb /rename c=D /by a. +match files $type1='a.sys' /in=INA /$type2='b.sys' /in=INB /rename c=D /by a. EOF elif [ $sources = sa ]; then cat < $name.pspp </dev/null 2>&1 +if [ $? -ne 0 ] ; then no_result ; fi + +activity="check $name output" +diff -b -w -B - pspp.list <