2018-01-03 08:03:16 +00:00
|
|
|
par_linebuffer_matters_compress ### (--linebuffer) --compress should give different output
|
2016-07-10 21:00:20 +00:00
|
|
|
par_linebuffer_matters_compress OK: --linebuffer makes a difference
|
|
|
|
par_linebuffer_matters_compress_tag ### (--linebuffer) --compress --tag should give different output
|
|
|
|
par_linebuffer_matters_compress_tag OK: --linebuffer makes a difference
|
2016-12-14 07:48:27 +00:00
|
|
|
par_memfree ### test memfree
|
|
|
|
par_memfree Free mem: 1k
|
2018-03-21 21:57:28 +00:00
|
|
|
par_memfree parallel: Warning: This job was killed because it timed out:
|
|
|
|
par_memfree parallel: Warning: parallel --memfree 1t echo Free mem: ::: 1t
|
2016-12-14 07:48:27 +00:00
|
|
|
par_memfree parallel: SIGTERM received. No new jobs will be started.
|
|
|
|
par_memfree parallel: Waiting for these 0 jobs to finish. Send SIGTERM again to stop now.
|
2016-07-10 14:02:26 +00:00
|
|
|
par_memory_leak ### Test for memory leaks
|
2017-03-04 15:03:14 +00:00
|
|
|
par_memory_leak Of 100 runs of 1 job at least one should be bigger than a 3000 job run
|
2016-07-10 14:02:26 +00:00
|
|
|
par_memory_leak Good: No memleak detected.
|
|
|
|
par_race_condition1 ### Test race condition on 8 CPU (my laptop)
|
|
|
|
par_race_condition1 1
|
|
|
|
par_race_condition1 2
|
|
|
|
par_race_condition1 3
|
|
|
|
par_race_condition1 4
|
|
|
|
par_race_condition1 5
|
|
|
|
par_race_condition1 6
|
|
|
|
par_race_condition1 7
|
|
|
|
par_race_condition1 8
|
|
|
|
par_race_condition1 9
|
|
|
|
par_race_condition1 10
|
2017-06-18 19:15:36 +00:00
|
|
|
par_sigterm ### Test SIGTERM
|
|
|
|
par_sigterm 1
|
|
|
|
par_sigterm 10
|
|
|
|
par_sigterm 2
|
|
|
|
par_sigterm 3
|
|
|
|
par_sigterm 4
|
|
|
|
par_sigterm 5
|
|
|
|
par_sigterm 6
|
|
|
|
par_sigterm 7
|
|
|
|
par_sigterm 8
|
|
|
|
par_sigterm 9
|
|
|
|
par_sigterm parallel: SIGTERM received. No new jobs will be started.
|
|
|
|
par_sigterm parallel: Waiting for these 5 jobs to finish. Send SIGTERM again to stop now.
|
|
|
|
par_sigterm parallel: sleep 15; echo 10
|
|
|
|
par_sigterm parallel: sleep 15; echo 6
|
|
|
|
par_sigterm parallel: sleep 15; echo 7
|
|
|
|
par_sigterm parallel: sleep 15; echo 8
|
|
|
|
par_sigterm parallel: sleep 15; echo 9
|
2016-07-10 14:02:26 +00:00
|
|
|
par_tmp_full ### Test --tmpdir running full. bug #40733 was caused by this
|
2018-03-21 21:57:28 +00:00
|
|
|
par_tmp_full parallel: Error: Output is incomplete.
|
|
|
|
par_tmp_full parallel: Error: Cannot append to buffer file in /tmp/shm/parallel.
|
|
|
|
par_tmp_full parallel: Error: Is the disk full?
|
2016-07-10 14:02:26 +00:00
|
|
|
par_tmp_full parallel: Error: Change $TMPDIR with --tmpdir or use --compress.
|
2017-01-01 16:51:14 +00:00
|
|
|
par_tmp_full Warning: unable to close filehandle properly: No space left on device during global destruction.
|