2011-01-21 17:50:23 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo '### Test fix #32191'
|
2012-05-13 14:03:13 +00:00
|
|
|
seq 1 150 | nice nice parallel -j9 --retries 2 -S localhost,: "/bin/non-existant 2>/dev/null"
|
2012-05-06 10:43:40 +00:00
|
|
|
|
|
|
|
echo '### Test --tagstring'
|
|
|
|
parallel -j1 -X -v --tagstring a{}b echo ::: 3 4
|
|
|
|
parallel -j1 -k -v --tagstring a{}b echo ::: 3 4
|
|
|
|
parallel -j1 -k -v --tagstring a{}b echo job{#} ::: 3 4
|
|
|
|
parallel -j1 -k -v --tagstring ajob{#}b echo job{#} ::: 3 4
|
|
|
|
|
2012-05-13 14:03:13 +00:00
|
|
|
echo '### Test bug #35820: sem breaks if $HOME is not writable'
|
|
|
|
echo 'Workaround: use another writable dir'
|
|
|
|
rm -rf /tmp/.parallel
|
|
|
|
HOME=/tmp sem echo OK
|
|
|
|
HOME=/tmp sem --wait
|
|
|
|
HOME=/usr/this/should/fail stdout sem echo should fail
|