view tests/test-spawn-pipe.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 bb6795464200
children
line wrap: on
line source

#!/bin/sh

st=0
for i in 0 1 2 3 4 5 6 7 ; do
  ${CHECKER} ./test-spawn-pipe-main${EXEEXT} ./test-spawn-pipe-child${EXEEXT} $i \
    || { echo test-spawn-pipe.sh: iteration $i failed >&2; st=1; }
done
exit $st