Mercurial > gnulib
comparison tests/test-parse-duration.sh @ 40221:8c1a17df67e0
tests: Prepare for using valgrind.
tests/*.sh: Invoke all test programs through ${CHECKER}.
tests/*/*.sh: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 10 Mar 2019 11:32:11 +0100 |
parents | 2119c582d05b |
children |
comparison
equal
deleted
inserted
replaced
40220:2796695e9216 | 40221:8c1a17df67e0 |
---|---|
60 _EOF_ | 60 _EOF_ |
61 | 61 |
62 exec 3< "${tmpf}" | 62 exec 3< "${tmpf}" |
63 while read line <&3 | 63 while read line <&3 |
64 do | 64 do |
65 v=`${exe} "${line}"` || { ls -l "${tmpf}"; die "Failed: ${exe} '${line}'"; } | 65 v=`${CHECKER} ${exe} "${line}"` || { ls -l "${tmpf}"; die "Failed: ${exe} '${line}'"; } |
66 test $v -eq 38898367 || die $v is not 38898367 | 66 test $v -eq 38898367 || die $v is not 38898367 |
67 done | 67 done |
68 exec 3>&- | 68 exec 3>&- |