projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
closein-tests: silence compiler warning
[gnulib.git]
/
tests
/
test-parse-duration.sh
diff --git
a/tests/test-parse-duration.sh
b/tests/test-parse-duration.sh
index
4c946ac
..
6aeb225
100755
(executable)
--- 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_
P 1-2-25 T 5:6:7
_EOF_
-ls -l "${tmpf}"
-
exec 3< "${tmpf}"
exec 3< "${tmpf}"
-while read
-u3 line
+while read
line <&3
do
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
test $v -eq 38898367 || die $v is not 38898367
- echo OK: ${line}
done
exec 3>&-
done
exec 3>&-