mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 05:07:54 +00:00
126 lines
3.9 KiB
Plaintext
126 lines
3.9 KiB
Plaintext
### Test --transfer --return --cleanup
|
|
# Create some weirdly files in /tmp
|
|
### --transfer - abspath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
good if no file
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer - relpath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
good if no file
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - abspath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
good if no file
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - relpath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
good if no file
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --return - abspath
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.out
|
|
### --return - relpath
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
tmp/parallel.file>fire.out
|
|
### --return - multiple files
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
tmp/parallel.file>fire.file.done
|
|
tmp/parallel.file>fire.out
|
|
### --return --cleanup - abspath
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
### --return --cleanup - relpath
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
tmp/parallel.file>fire.file.done
|
|
tmp/parallel.file>fire.out
|
|
good if no file
|
|
### --return --cleanup - multiple returns
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
### --transfer --return --cleanup - abspath
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: cannot access '/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.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: cannot access '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.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - abspath
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
|
OK
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - relpath
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
tmp/parallel.file>fire.file.done
|
|
tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --trc - multiple files
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: cannot access '/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.file>fire.file' 'tmp/parallel.file>fire.file'
|
|
file>fire
|
|
file>fire
|
|
cat '/tmp/parallel.file : & ) \n*.jpg.file' 'tmp/parallel.file : & ) \n*.jpg.file'
|
|
file : & ) \n*.jpg
|
|
file : & ) \n*.jpg
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
OK
|