parallel/testsuite/tests-to-run/test34.sh
Ole Tange 8865cbb10f parallel: Argument handling re-written to OO.
The code is quite messy, the implementation is fairly slow, but the
structure seems sound and it passes the testsuite.
basename {/} and {/.} implemented.
Flushing of STDERR and STDOUT after each job completes.
2010-11-22 10:35:53 +01:00

8 lines
230 B
Bash

#!/bin/bash
echo '### Test too slow spawning'
(sleep 0.3; seq 1 10 | parallel -j50 burnP6) &
seq 1 500 | nice nice stdout timeout -k 1 10 \
parallel -j500 "killall -9 burnP6 2>/dev/null ; echo {} >/dev/null"
killall -9 burnP6