From: Bruno Haible Date: Tue, 16 Dec 2008 22:56:20 +0000 (+0100) Subject: Silence the parse-duration test. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a17127d54676bf718bd37e2d72e5d9e498b1d8;p=pspp Silence the parse-duration test. --- diff --git a/ChangeLog b/ChangeLog index aa368f8fc4..e08a13da69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-16 Bruno Haible + + * tests/test-parse-duration.sh: Produce no output when the test + succeeds. + 2008-12-16 Bruno Haible * tests/test-parse-duration.sh: Fix quoting of $tmp and $tmpf diff --git a/tests/test-parse-duration.sh b/tests/test-parse-duration.sh index 4c946ac2b1..1200561165 100755 --- a/tests/test-parse-duration.sh +++ b/tests/test-parse-duration.sh @@ -59,13 +59,10 @@ cat > "${tmpf}" <<- _EOF_ P 1-2-25 T 5:6:7 _EOF_ -ls -l "${tmpf}" - exec 3< "${tmpf}" while read -u3 line do - v=`${exe} "${line}"` || die "Failed: ${exe} '${line}'" + v=`${exe} "${line}"` || { ls -l "${tmpf}"; die "Failed: ${exe} '${line}'"; } test $v -eq 38898367 || die $v is not 38898367 - echo OK: ${line} done exec 3>&-