comparison tests/test-exclude8.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
30 f*e: 1 30 f*e: 1
31 file: 0 31 file: 0
32 bar: 1 32 bar: 1
33 EOT 33 EOT
34 34
35 test-exclude -wildcards in -- 'f*e' 'file' 'bar' > out || exit $? 35 ${CHECKER} test-exclude -wildcards in -- 'f*e' 'file' 'bar' > out || exit $?
36 36
37 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr 37 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr
38 # does not understand '\r'. 38 # does not understand '\r'.
39 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac 39 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac
40 40