Mercurial > gnulib
comparison tests/test-exclude3.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 |
---|---|
34 foobar: 1 | 34 foobar: 1 |
35 baz: 1 | 35 baz: 1 |
36 bar/qux: 1 | 36 bar/qux: 1 |
37 EOT | 37 EOT |
38 | 38 |
39 test-exclude -include in -- foo 'foo*' bar foobar baz bar/qux > out || exit $? | 39 ${CHECKER} test-exclude -include in -- foo 'foo*' bar foobar baz bar/qux > out || exit $? |
40 | 40 |
41 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr | 41 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr |
42 # does not understand '\r'. | 42 # does not understand '\r'. |
43 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac | 43 case $(echo r | tr -d '\r') in '') cr='\015';; *) cr='\r';; esac |
44 | 44 |