2010-12-21 17:08:16 +00:00
|
|
|
### Test --transfer --return --cleanup
|
|
|
|
# Create some weirdly files in /tmp
|
|
|
|
### --transfer - abspath
|
|
|
|
file1
|
|
|
|
file2
|
|
|
|
good if no file
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
### --transfer - relpath
|
|
|
|
file1
|
|
|
|
file2
|
|
|
|
good if no file
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
### --transfer --cleanup - abspath
|
|
|
|
file1
|
|
|
|
file2
|
|
|
|
good if no file
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
### --transfer --cleanup - relpath
|
|
|
|
file1
|
|
|
|
file2
|
|
|
|
good if no file
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +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-12-21 17:08:16 +00:00
|
|
|
### --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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +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-12-21 17:08:16 +00:00
|
|
|
### --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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +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-12-21 17:08:16 +00:00
|
|
|
### --transfer --return --cleanup - multiple files
|
|
|
|
/tmp/parallel.file1.file.done
|
|
|
|
/tmp/parallel.file1.out
|
|
|
|
/tmp/parallel.file2.file.done
|
|
|
|
/tmp/parallel.file2.out
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +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-12-21 17:08:16 +00:00
|
|
|
### --trc - abspath
|
|
|
|
/tmp/parallel.file1.file.done
|
|
|
|
/tmp/parallel.file1.out
|
|
|
|
/tmp/parallel.file2.file.done
|
|
|
|
/tmp/parallel.file2.out
|
|
|
|
good if no file
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +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-12-21 17:08:16 +00:00
|
|
|
### --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
|
2023-07-24 06:34:58 +00:00
|
|
|
ls: cannot access '/tmp/parallel.file*': No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
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
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: /tmp/parallel.file*: No such file or directory
|
2010-12-21 17:08:16 +00:00
|
|
|
OK
|