X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Fsample.sh;h=eb58b061e39eb17003045b978bea16c52ba65930;hb=ebd0dcdfe65da02a6e541ceea0226c9b0b8d7a47;hp=72cc1b5909d65c7a481b978db512a1c9180a0073;hpb=cb062bfc8fa1b1477de31fd8a0f072f4bcf3d6b1;p=pspp-builds.git diff --git a/tests/command/sample.sh b/tests/command/sample.sh index 72cc1b59..eb58b061 100755 --- a/tests/command/sample.sh +++ b/tests/command/sample.sh @@ -85,7 +85,7 @@ $SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/sample.stat if [ $? -ne 0 ] ; then no_result ; fi activity="create head" -grep -v '^\ *$' $TEMPDIR/pspp.csv | head -1 > $TEMPDIR/head +grep -v '^[ ]*$' $TEMPDIR/pspp.csv | head -1 > $TEMPDIR/head if [ $? -ne 0 ] ; then no_result ; fi activity="extract data"