2010-05-30 22:30:01 +00:00
|
|
|
### Test --transfer --return --cleanup - files with newline
|
|
|
|
### --transfer - file with newline
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
good if no file
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
### --transfer --cleanup - file with newline
|
|
|
|
newline
|
|
|
|
newline
|
|
|
|
good if no file
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
### --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
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### --transfer --return --cleanup - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
good if no file
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
### --trc - file with newline
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline1.out
|
|
|
|
tmp/parallel.file.
|
|
|
|
newline2.out
|
|
|
|
good if no file
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
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
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
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
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
2013-03-24 16:24:59 +00:00
|
|
|
ls: tmp/parallel.file*: No such file or directory
|
2010-05-30 22:30:01 +00:00
|
|
|
OK
|
|
|
|
Input for ssh
|
2011-10-17 01:10:32 +00:00
|
|
|
-l parallel parallel-server1 rsync --server -lDrRze.iLsf . .
|
2013-05-21 22:29:41 +00:00
|
|
|
-tt -oLogLevel=quiet parallel@parallel-server1 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.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline2 > tmp/parallel.file.'
|
|
|
|
'newline2.out;cat tmp/parallel.file.'
|
|
|
|
'newline2 > tmp/parallel.file.'
|
|
|
|
'newline2.out2
|
2013-03-24 16:24:59 +00:00
|
|
|
-l parallel parallel-server1 cd ./tmp; rsync --server --sender -lDrRze.iLsf . parallel.file.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline2.out
|
2013-03-24 16:24:59 +00:00
|
|
|
-l parallel parallel-server1 cd ./tmp; rsync --server --sender -lDrRze.iLsf . parallel.file.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline2.out2
|
2011-10-17 01:10:32 +00:00
|
|
|
parallel@parallel-server1 rm -f ./tmp/parallel.file.'
|
2013-03-24 16:24:59 +00:00
|
|
|
'newline2;rmdir 2>/dev/null ./tmp;rm -f ./tmp/parallel.file.'
|
|
|
|
'newline2.out;rmdir 2>/dev/null ./tmp;rm -f ./tmp/parallel.file.'
|
|
|
|
'newline2.out2;rmdir 2>/dev/null ./tmp;
|
2011-05-13 23:03:09 +00:00
|
|
|
-l parallel parallel-server2 rsync --server -lDrRze.iLsf . .
|
2013-05-21 22:29:41 +00:00
|
|
|
-tt -oLogLevel=quiet parallel@parallel-server2 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.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline1 > tmp/parallel.file.'
|
|
|
|
'newline1.out;cat tmp/parallel.file.'
|
|
|
|
'newline1 > tmp/parallel.file.'
|
|
|
|
'newline1.out2
|
2013-03-24 16:24:59 +00:00
|
|
|
-l parallel parallel-server2 cd ./tmp; rsync --server --sender -lDrRze.iLsf . parallel.file.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline1.out
|
2013-03-24 16:24:59 +00:00
|
|
|
-l parallel parallel-server2 cd ./tmp; rsync --server --sender -lDrRze.iLsf . parallel.file.'
|
2010-05-30 22:30:01 +00:00
|
|
|
'newline1.out2
|
2010-12-21 17:08:16 +00:00
|
|
|
parallel@parallel-server2 rm -f ./tmp/parallel.file.'
|
2013-03-24 16:24:59 +00:00
|
|
|
'newline1;rmdir 2>/dev/null ./tmp;rm -f ./tmp/parallel.file.'
|
|
|
|
'newline1.out;rmdir 2>/dev/null ./tmp;rm -f ./tmp/parallel.file.'
|
|
|
|
'newline1.out2;rmdir 2>/dev/null ./tmp;
|