mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-30 01:47:56 +00:00
138 lines
3.5 KiB
Plaintext
138 lines
3.5 KiB
Plaintext
### Test --transfer --return --cleanup
|
|
# Create some weirdly files in /tmp
|
|
### --transfer - abspath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer - relpath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - abspath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - relpath
|
|
file1
|
|
file2
|
|
good if no file
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: /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: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: /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: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: /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: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: 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: /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: /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: /tmp/parallel.file*: No such file or directory
|
|
OK
|