mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
112 lines
3.8 KiB
Plaintext
112 lines
3.8 KiB
Plaintext
### Test --transfer --return --cleanup - files with newline
|
|
### --transfer - file with newline
|
|
newline
|
|
newline
|
|
good if no file
|
|
ls: 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: 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
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### --transfer --return --cleanup - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.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 - file with newline
|
|
tmp/parallel.file.
|
|
newline1.out
|
|
tmp/parallel.file.
|
|
newline2.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 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
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
### 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
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
OK
|
|
Input for ssh
|
|
parallel@parallel-server1 mkdir -p ./.
|
|
-l parallel parallel-server1 rsync --server -lDrRze.iLsfx . ./.
|
|
-tt -oLogLevel=quiet parallel@parallel-server1 eval `echo $SHELL | grep "/t\{0,1\}csh" > /dev/null && echo setenv PARALLEL_SEQ 1\; setenv PARALLEL_PID 00000 || echo PARALLEL_SEQ=1\;export PARALLEL_SEQ\; PARALLEL_PID=00000\;export PARALLEL_PID` ; tty >/dev/null && stty isig -onlcr -echo;cat tmp/parallel.file.'
|
|
'newline1 > tmp/parallel.file.'
|
|
'newline1.out;cat tmp/parallel.file.'
|
|
'newline1 > tmp/parallel.file.'
|
|
'newline1.out2
|
|
-l parallel parallel-server1 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newline1.out
|
|
-l parallel parallel-server1 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newline1.out2
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newline1; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newline1.out; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newline1.out2; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server2 mkdir -p ./.
|
|
-l parallel parallel-server2 rsync --server -lDrRze.iLsfx . ./.
|
|
-tt -oLogLevel=quiet parallel@parallel-server2 eval `echo $SHELL | grep "/t\{0,1\}csh" > /dev/null && echo setenv PARALLEL_SEQ 2\; setenv PARALLEL_PID 00000 || echo PARALLEL_SEQ=2\;export PARALLEL_SEQ\; PARALLEL_PID=00000\;export PARALLEL_PID` ; tty >/dev/null && stty isig -onlcr -echo;cat tmp/parallel.file.'
|
|
'newline2 > tmp/parallel.file.'
|
|
'newline2.out;cat tmp/parallel.file.'
|
|
'newline2 > tmp/parallel.file.'
|
|
'newline2.out2
|
|
-l parallel parallel-server2 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newline2.out
|
|
-l parallel parallel-server2 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newline2.out2
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newline2; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newline2.out; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newline2.out2; rmdir ./tmp/ ./ 2>/dev/null;)
|