mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-27 15:17:54 +00:00
42a5f4e0cc
max_jobs_running could be resat if -j is a changed file. dummy children was not killed if cmd line was too long. default number of jobs for --semaphore set to 1. test25 had race condition. test22 -j10 added. test13 -j9 added. test47 remote cleanup added before test. test17 remote cleanup added before test.
138 lines
3.9 KiB
Plaintext
138 lines
3.9 KiB
Plaintext
### Test --transfer --return --cleanup
|
|
# Create some weirdly files in /tmp
|
|
### --transfer - abspath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
### --transfer - relpath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - abspath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - relpath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --return - abspath
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.out
|
|
### --return - relpath
|
|
tmp/parallel.file1.out
|
|
tmp/parallel.file2.out
|
|
### --return - multiple files
|
|
tmp/parallel.file1.file.done
|
|
tmp/parallel.file1.out
|
|
tmp/parallel.file2.file.done
|
|
tmp/parallel.file2.out
|
|
### --return --cleanup - abspath
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --return --cleanup - relpath
|
|
tmp/parallel.file1.file.done
|
|
tmp/parallel.file1.out
|
|
tmp/parallel.file2.file.done
|
|
tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --return --cleanup - multiple returns
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --return --cleanup - abspath
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --return --cleanup - relpath
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --return --cleanup - multiple files
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - abspath
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - relpath
|
|
tmp/parallel.file1.file.done
|
|
tmp/parallel.file1.out
|
|
tmp/parallel.file2.file.done
|
|
tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - multiple files
|
|
/tmp/parallel.file1.file.done
|
|
/tmp/parallel.file1.out
|
|
/tmp/parallel.file2.file.done
|
|
/tmp/parallel.file2.out
|
|
good if no file
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --cleanup - multiple argument files
|
|
cat /tmp/parallel.file2.file tmp/parallel.file1.file
|
|
file2
|
|
file1
|
|
cat /tmp/parallel.file1.file tmp/parallel.file2.file
|
|
file1
|
|
file2
|
|
ls: cannot access /tmp/parallel.file*: No such file or directory
|
|
OK
|