From dfd2678fa173f46b4795170bce97670521073fab Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 2 Jun 2009 10:45:21 +0200 Subject: [PATCH] tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. --- ChangeLog | 4 ++++ tests/test-parse-duration.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.11.0