2010-05-27 06:09:28 +00:00
|
|
|
### Test --transfer --return --cleanup
|
2010-06-12 23:24:25 +00:00
|
|
|
# Create some weirdly files in /tmp
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer - abspath
|
|
|
|
file>fire
|
|
|
|
file : & ) \n*.jpg
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer - relpath
|
|
|
|
file>fire
|
|
|
|
file : & ) \n*.jpg
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer --cleanup - abspath
|
|
|
|
file>fire
|
|
|
|
file : & ) \n*.jpg
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer --cleanup - relpath
|
|
|
|
file>fire
|
|
|
|
file : & ) \n*.jpg
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-10-26 23:50:58 +00:00
|
|
|
OK
|
2010-05-27 06:09:28 +00:00
|
|
|
### --return - abspath
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
### --return - relpath
|
2010-06-12 23:24:25 +00:00
|
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-30 22:30:01 +00:00
|
|
|
tmp/parallel.file>fire.out
|
2010-06-12 23:24:25 +00:00
|
|
|
### --return - multiple files
|
|
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
2010-05-30 22:30:01 +00:00
|
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
|
|
|
tmp/parallel.file>fire.file.done
|
|
|
|
tmp/parallel.file>fire.out
|
2010-05-27 06:09:28 +00:00
|
|
|
### --return --cleanup - abspath
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
good if no file
|
|
|
|
### --return --cleanup - relpath
|
2010-06-12 23:24:25 +00:00
|
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-30 22:30:01 +00:00
|
|
|
tmp/parallel.file>fire.file.done
|
|
|
|
tmp/parallel.file>fire.out
|
2010-05-27 06:09:28 +00:00
|
|
|
good if no file
|
|
|
|
### --return --cleanup - multiple returns
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
good if no file
|
|
|
|
### --transfer --return --cleanup - abspath
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
|
|
OK
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer --return --cleanup - relpath
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2011-01-17 12:38:58 +00:00
|
|
|
OK
|
2010-05-27 06:09:28 +00:00
|
|
|
### --transfer --return --cleanup - multiple files
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-06-12 23:24:25 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2011-01-17 12:38:58 +00:00
|
|
|
OK
|
2010-06-12 23:24:25 +00:00
|
|
|
### --trc - abspath
|
2010-05-27 06:09:28 +00:00
|
|
|
/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
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
|
|
OK
|
2010-05-27 06:09:28 +00:00
|
|
|
### --trc - relpath
|
2010-06-12 23:24:25 +00:00
|
|
|
tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-30 22:30:01 +00:00
|
|
|
tmp/parallel.file>fire.file.done
|
|
|
|
tmp/parallel.file>fire.out
|
2010-05-27 06:09:28 +00:00
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2011-01-17 12:38:58 +00:00
|
|
|
OK
|
2010-05-27 06:09:28 +00:00
|
|
|
### --trc - multiple files
|
2010-06-12 23:24:25 +00:00
|
|
|
/tmp/parallel.file : & ) \n*.jpg.file.done
|
|
|
|
/tmp/parallel.file : & ) \n*.jpg.out
|
2010-05-27 06:09:28 +00:00
|
|
|
/tmp/parallel.file>fire.file.done
|
|
|
|
/tmp/parallel.file>fire.out
|
|
|
|
good if no file
|
2020-08-07 20:20:30 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-05-27 06:09:28 +00:00
|
|
|
OK
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
|
|
OK
|
2010-07-18 16:04:07 +00:00
|
|
|
### --transfer --cleanup - multiple argument files
|
2018-08-22 22:21:29 +00:00
|
|
|
cat '/tmp/parallel.file>fire.file' 'tmp/parallel.file>fire.file'
|
2010-07-18 16:04:07 +00:00
|
|
|
file>fire
|
|
|
|
file>fire
|
2018-08-22 22:21:29 +00:00
|
|
|
cat '/tmp/parallel.file : & ) \n*.jpg.file' 'tmp/parallel.file : & ) \n*.jpg.file'
|
2010-07-18 16:04:07 +00:00
|
|
|
file : & ) \n*.jpg
|
2013-08-16 11:11:35 +00:00
|
|
|
file : & ) \n*.jpg
|
2013-10-21 20:31:52 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
|
|
|
OK
|