mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-27 08:27:54 +00:00
203 lines
3.3 KiB
Plaintext
203 lines
3.3 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: cannot access 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: cannot access 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: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
ls: cannot access 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: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
ls: cannot access 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: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
ls: cannot access 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: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
ls: cannot access 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: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
ls: cannot access tmp/parallel.file*: No such file or directory
|
||
|
OK
|
||
|
Input for ssh
|
||
|
parallel-server1 rsync --server -lDrRze.iLsf . ./
|
||
|
parallel-server1 cat tmp/parallel.file.'
|
||
|
'newline2 > tmp/parallel.file.'
|
||
|
'newline2.out;cat tmp/parallel.file.'
|
||
|
'newline2 > tmp/parallel.file.'
|
||
|
'newline2.out2
|
||
|
parallel-server1 rsync --server --sender -lDrRze.iLsf --remove-source-files . tmp/parallel.file.'
|
||
|
'newline2.out
|
||
|
parallel-server1 rsync --server --sender -lDrRze.iLsf --remove-source-files . tmp/parallel.file.'
|
||
|
'newline2.out2
|
||
|
parallel-server1 rm -f tmp/parallel.file.'
|
||
|
'newline2
|
||
|
-l parallel parallel-server2 rsync --server -lDrRze.iLsf . ./
|
||
|
parallel@parallel-server2 cat tmp/parallel.file.'
|
||
|
'newline1 > tmp/parallel.file.'
|
||
|
'newline1.out;cat tmp/parallel.file.'
|
||
|
'newline1 > tmp/parallel.file.'
|
||
|
'newline1.out2
|
||
|
-l parallel parallel-server2 rsync --server --sender -lDrRze.iLsf --remove-source-files . tmp/parallel.file.'
|
||
|
'newline1.out
|
||
|
-l parallel parallel-server2 rsync --server --sender -lDrRze.iLsf --remove-source-files . tmp/parallel.file.'
|
||
|
'newline1.out2
|
||
|
parallel@parallel-server2 rm -f tmp/parallel.file.'
|
||
|
'newline1
|
||
|
### Test use special ssh with > 9 simultaneous
|
||
|
1
|
||
|
2
|
||
|
3
|
||
|
4
|
||
|
5
|
||
|
6
|
||
|
7
|
||
|
8
|
||
|
9
|
||
|
10
|
||
|
11
|
||
|
12
|
||
|
13
|
||
|
14
|
||
|
15
|
||
|
16
|
||
|
17
|
||
|
18
|
||
|
19
|
||
|
20
|
||
|
21
|
||
|
22
|
||
|
23
|
||
|
24
|
||
|
25
|
||
|
26
|
||
|
27
|
||
|
28
|
||
|
29
|
||
|
30
|
||
|
31
|
||
|
32
|
||
|
33
|
||
|
34
|
||
|
35
|
||
|
36
|
||
|
37
|
||
|
38
|
||
|
39
|
||
|
40
|
||
|
41
|
||
|
42
|
||
|
43
|
||
|
44
|
||
|
45
|
||
|
46
|
||
|
47
|
||
|
48
|
||
|
49
|
||
|
50
|
||
|
51
|
||
|
52
|
||
|
53
|
||
|
54
|
||
|
55
|
||
|
56
|
||
|
57
|
||
|
58
|
||
|
59
|
||
|
60
|
||
|
61
|
||
|
62
|
||
|
63
|
||
|
64
|
||
|
65
|
||
|
66
|
||
|
67
|
||
|
68
|
||
|
69
|
||
|
70
|
||
|
71
|
||
|
72
|
||
|
73
|
||
|
74
|
||
|
75
|
||
|
76
|
||
|
77
|
||
|
78
|
||
|
79
|
||
|
80
|
||
|
81
|
||
|
82
|
||
|
83
|
||
|
84
|
||
|
85
|
||
|
86
|
||
|
87
|
||
|
88
|
||
|
89
|
||
|
90
|
||
|
91
|
||
|
92
|
||
|
93
|
||
|
94
|
||
|
95
|
||
|
96
|
||
|
97
|
||
|
98
|
||
|
99
|
||
|
100
|