Mercurial > hg > octave-nkf > gnulib-hg
view tests/test-pread.sh @ 17935:0ad1f4c9eed5 default tip
tests: support stderr verification with returns_()
* tests/init.sh (returns_): Disable tracing for this wrapper
function, so that stderr of the wrapped command is unchanged,
allowing for verification of the contents.
author | Pádraig Brady <P@draigBrady.com> |
---|---|
date | Mon, 16 Feb 2015 17:20:39 +0000 |
parents | 44954971957b |
children |
line wrap: on
line source
#!/bin/sh . "${srcdir=.}/init.sh"; path_prepend_ . fail=0 : | test-pread || fail=1 Exit $fail