mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 05:07:54 +00:00
testsuite: Less fragile.
This commit is contained in:
parent
9c8a03bdf2
commit
ce19870938
|
@ -15,7 +15,8 @@ echo '### Test of --progress with no jobs'
|
|||
stdout parallel --progress "sleep 1; echo {}" < /dev/null
|
||||
|
||||
echo '### bug #34422: parallel -X --eta crashes with div by zero'
|
||||
seq 2 | stdout parallel -X --eta echo
|
||||
# We do not care how long it took
|
||||
seq 2 | stdout parallel -X --eta echo | grep -E -v 'ETA:.*avg'
|
||||
|
||||
echo '### --timeout --onall on remote machines: 2*slept 1, 2 jobs failed'
|
||||
parallel -j0 --timeout 6 --onall -S localhost,parallel@parallel-server1 'sleep {}; echo slept {}' ::: 1 8 9 ; echo jobs failed: $?
|
||||
|
|
|
@ -19,7 +19,6 @@ Computers / CPU cores / Max jobs to run
|
|||
1:local / 2 / 1
|
||||
|
||||
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
|
||||
local:1/0/100%/0.0s
ETA: 0s 0left 0.00avg local:0/1/100%/1.0s
|
||||
### --timeout --onall on remote machines: 2*slept 1, 2 jobs failed
|
||||
slept 1
|
||||
slept 1
|
||||
|
|
Loading…
Reference in a new issue