# HG changeset patch # User Simon Josefsson # Date 1243932321 -7200 # Node ID c1d3603bec42daf004f2a6057c28f49a51a9e846 # Parent 84a17b4defb33a3fb2fad4f01a64a3aa2c60af65 tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/tests/test-parse-duration.sh b/tests/test-parse-duration.sh --- a/tests/test-parse-duration.sh +++ b/tests/test-parse-duration.sh @@ -60,7 +60,7 @@ _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