mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
be6fe3846f
--sshloginfile is now searched for in . too. --timeout more efficient. Passes testsuite.
148 lines
4.3 KiB
Plaintext
148 lines
4.3 KiB
Plaintext
### Test --transfer --return --cleanup
|
|
# Create some weirdly files in /tmp
|
|
### --transfer - abspath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
file/./sub dir
|
|
good if no file
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer - relpath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
file/./sub dir
|
|
good if no file
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - abspath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
file/./sub dir
|
|
good if no file
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
### --transfer --cleanup - relpath
|
|
file>fire
|
|
file : & ) \n*.jpg
|
|
file/./sub dir
|
|
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.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.out
|
|
### --return - relpath
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
tmp/parallel.file/sub dir.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/sub dir.file.done
|
|
tmp/parallel.file/sub dir.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/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.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/sub dir.file.done
|
|
tmp/parallel.file/sub dir.out
|
|
tmp/parallel.file>fire.file.done
|
|
tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --return --cleanup - multiple returns
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --return --cleanup - abspath
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
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/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.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.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.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.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
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/sub dir.file.done
|
|
tmp/parallel.file/sub dir.out
|
|
tmp/parallel.file>fire.file.done
|
|
tmp/parallel.file>fire.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.file : & ) \n*.jpg.file.done
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
|
/tmp/parallel.file/sub dir.file.done
|
|
/tmp/parallel.file/sub dir.out
|
|
/tmp/parallel.file>fire.file.done
|
|
/tmp/parallel.file>fire.out
|
|
good if no file
|
|
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/./sub\ dir.file tmp/parallel.file\ :\ \&\ \)\ \\n\*.jpg.file
|
|
file/./sub dir
|
|
file : & ) \n*.jpg
|
|
cat /tmp/parallel.file\ :\ \&\ \)\ \\n\*.jpg.file tmp/parallel.file/./sub\ dir.file
|
|
file : & ) \n*.jpg
|
|
file/./sub dir
|