mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-27 00:17:54 +00:00
104 lines
3.4 KiB
Plaintext
104 lines
3.4 KiB
Plaintext
### Test --transfer --return --cleanup - files with newline
|
|
### --transfer - file with newline
|
|
newline
|
|
newline
|
|
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 - file with newline
|
|
newline
|
|
newline
|
|
good if no file
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --return - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
### --return --cleanup - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
good if no file
|
|
OK
|
|
OK
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --transfer --return --cleanup - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
good if no file
|
|
OK
|
|
OK
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --trc - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
good if no file
|
|
OK
|
|
OK
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### --trc - multiple file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline1.out2
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
tmp/parallel.file.
|
|
newline2.out2
|
|
good if no file
|
|
OK
|
|
OK
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
### Test use special ssh
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline1.out2
|
|
tmp/parallel.file.
|
|
newline2.out
|
|
tmp/parallel.file.
|
|
newline2.out2
|
|
good if no file
|
|
OK
|
|
OK
|
|
ls: cannot access 'tmp/parallel.file*': No such file or directory
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
Input for ssh
|
|
-l vagrant one-server -- exec mkdir -p ./.
|
|
-l vagrant one-server rsync --server -lDrRze.iLsfxCIvu . ./.
|
|
-l vagrant one-server -- exec perl -X -e GNU_Parallel_worker,eval+pack+q/H10000000/,join+q//,@ARGV hex
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxCIvu . './parallel.file.
|
|
newlineX.out'
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxCIvu . './parallel.file.
|
|
newlineX.out2'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX.out'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX.out2'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
-l vagrant one-server -- exec mkdir -p ./.
|
|
-l vagrant one-server rsync --server -lDrRze.iLsfxCIvu . ./.
|
|
-l vagrant one-server -- exec perl -X -e GNU_Parallel_worker,eval+pack+q/H10000000/,join+q//,@ARGV hex
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxCIvu . './parallel.file.
|
|
newlineX.out'
|
|
-l vagrant one-server cd ././tmp; rsync --server --sender -lDrRze.iLsfxCIvu . './parallel.file.
|
|
newlineX.out2'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX.out'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|
|
-l vagrant one-server -- exec sh -c 'rm -f '"'"'./tmp/parallel.file.
|
|
newlineX.out2'"'"' 2>/dev/null;rmdir ./tmp/ ./ 2>/dev/null;'
|