From: Simon Josefsson Date: Tue, 2 Jun 2009 08:45:21 +0000 (+0200) Subject: tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. X-Git-Tag: v0.1~5891 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=dfd2678fa173f46b4795170bce97670521073fab;p=gnulib.git tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. --- diff --git a/ChangeLog b/ChangeLog index 431ef4c77..ef4441abc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-06-02 Simon Josefsson + * tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. + +2009-06-02 Simon Josefsson + * m4/manywarnings.m4: Add GCC 4.4 warnings. 2009-05-28 Bruno Haible diff --git a/tests/test-parse-duration.sh b/tests/test-parse-duration.sh index 120056116..6aeb2253e 100755 --- a/tests/test-parse-duration.sh +++ b/tests/test-parse-duration.sh @@ -60,7 +60,7 @@ cat > "${tmpf}" <<- _EOF_ _EOF_ exec 3< "${tmpf}" -while read -u3 line +while read line <&3 do v=`${exe} "${line}"` || { ls -l "${tmpf}"; die "Failed: ${exe} '${line}'"; } test $v -eq 38898367 || die $v is not 38898367