File: test-spawn-pipe.sh

package info (click to toggle)
pspp 0.7.9%2Bgit20120620-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 71,980 kB
  • sloc: ansic: 384,310; sh: 22,024; cpp: 1,445; yacc: 1,251; perl: 903; lisp: 868; makefile: 358; xml: 182; java: 5
file content (8 lines) | stat: -rwxr-xr-x 199 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
#!/bin/sh

st=0
for i in 0 1 2 3 4 5 6 7 ; do
  ./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