comparison tests/test-exclude5.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 b06060465f09
children
comparison
equal deleted inserted replaced
40220:2796695e9216 40221:8c1a17df67e0
32 bar/qux: 1 32 bar/qux: 1
33 barz: 0 33 barz: 0
34 foo/bar: 1 34 foo/bar: 1
35 EOT 35 EOT
36 36
37 test-exclude -leading_dir in -- bar bar/qux barz foo/bar > out || exit $? 37 ${CHECKER} test-exclude -leading_dir in -- bar bar/qux barz foo/bar > out || exit $?
38 38
39 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr 39 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr
40 # does not understand '\r'. 40 # does not understand '\r'.
41 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac 41 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac
42 42