tests/test-parse-duration.sh: Don't use non-portable 'read -u3'.
authorSimon Josefsson <simon@josefsson.org>
Tue, 2 Jun 2009 08:45:21 +0000 (10:45 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 2 Jun 2009 08:45:21 +0000 (10:45 +0200)
ChangeLog
tests/test-parse-duration.sh

index 431ef4c..ef4441a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-02  Simon Josefsson  <simon@josefsson.org>
 
+       * tests/test-parse-duration.sh: Don't use non-portable 'read -u3'.
+
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
        * m4/manywarnings.m4: Add GCC 4.4 warnings.
 
 2009-05-28  Bruno Haible  <bruno@clisp.org>
index 1200561..6aeb225 100755 (executable)
@@ -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