File: test-spawn-pipe.sh

package info (click to toggle)
m4 1.4.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,548 kB
  • sloc: ansic: 141,981; sh: 14,996; cpp: 2,200; lisp: 243; makefile: 165; sed: 16
file content (8 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
#!/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