parallel/testsuite/tests-to-run/test34.sh
Ole Tange 87747a44b4 parallel: Too slow spawning only gives a warning, not an error.
.parallelrc is now read along with .parallel/config.
Passes testsuite.
2010-10-14 23:13:48 +02:00

8 lines
224 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 10 \
parallel -j500 "killall -9 burnP6 2>/dev/null ; echo {} >/dev/null"
killall -9 burnP6