mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-29 16:17:58 +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 X\; setenv PARALLEL_PID 00000 || echo PARALLEL_SEQ=X\;export PARALLEL_SEQ\; PARALLEL_PID=00000\;export PARALLEL_PID` ; tty >/dev/null && stty isig -onlcr -echo;cat tmp/parallel.file.'
|
|
'newlineX > tmp/parallel.file.'
|
|
'newlineX.out;cat tmp/parallel.file.'
|
|
'newlineX > tmp/parallel.file.'
|
|
'newlineX.out2
|
|
-l parallel parallel-server1 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newlineX.out
|
|
-l parallel parallel-server1 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newlineX.out2
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newlineX; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newlineX.out; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server1 (rm -f ./tmp/parallel.file.'
|
|
'newlineX.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 X\; setenv PARALLEL_PID 00000 || echo PARALLEL_SEQ=X\;export PARALLEL_SEQ\; PARALLEL_PID=00000\;export PARALLEL_PID` ; tty >/dev/null && stty isig -onlcr -echo;cat tmp/parallel.file.'
|
|
'newlineX > tmp/parallel.file.'
|
|
'newlineX.out;cat tmp/parallel.file.'
|
|
'newlineX > tmp/parallel.file.'
|
|
'newlineX.out2
|
|
-l parallel parallel-server2 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newlineX.out
|
|
-l parallel parallel-server2 cd ././tmp; rsync --server --sender -lDrRze.iLsfx . ./parallel.file.'
|
|
'newlineX.out2
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newlineX; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newlineX.out; rmdir ./tmp/ ./ 2>/dev/null;)
|
|
parallel@parallel-server2 (rm -f ./tmp/parallel.file.'
|
|
'newlineX.out2; rmdir ./tmp/ ./ 2>/dev/null;)
|