mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-29 17:37:55 +00:00
Added test for multiple {} in a composed command
This commit is contained in:
parent
8d8335728a
commit
0979c6009e
|
@ -6,3 +6,6 @@ SERVER2=parallel-server2
|
||||||
echo '### Test --return of weirdly named file'
|
echo '### Test --return of weirdly named file'
|
||||||
stdout parallel --return {} -vv -S $SERVER1 echo '>'{} ::: 'aa<${#}" b'
|
stdout parallel --return {} -vv -S $SERVER1 echo '>'{} ::: 'aa<${#}" b'
|
||||||
rm 'aa<${#}" b'
|
rm 'aa<${#}" b'
|
||||||
|
|
||||||
|
echo '### Test {} multiple times in different commands'
|
||||||
|
seq 1 10| parallel -v -Xj1 echo {} \; echo {}
|
||||||
|
|
|
@ -1,2 +1,6 @@
|
||||||
### Test --return of weirdly named file
|
### Test --return of weirdly named file
|
||||||
ssh parallel-server3 PARALLEL_SEQ=$PARALLEL_SEQ\;export PARALLEL_SEQ\;PARALLEL_PID=$PARALLEL_PID\;export PARALLEL_PID\; echo\ \>aa\\\<\\\${\\\#}\\\"\\\ b;_EXIT_status=$?; rsync -rlDzR -essh parallel-server3:././aa\\\<\\\${\\\#}\\\"\\\ b ./; exit $_EXIT_status;
|
ssh parallel-server3 PARALLEL_SEQ=$PARALLEL_SEQ\;export PARALLEL_SEQ\;PARALLEL_PID=$PARALLEL_PID\;export PARALLEL_PID\; echo\ \>aa\\\<\\\${\\\#}\\\"\\\ b;_EXIT_status=$?; rsync -rlDzR -essh parallel-server3:././aa\\\<\\\${\\\#}\\\"\\\ b ./; exit $_EXIT_status;
|
||||||
|
### Test {} multiple times in different commands
|
||||||
|
echo 1 2 3 4 5 6 7 8 9 10 ; echo 1 2 3 4 5 6 7 8 9 10
|
||||||
|
1 2 3 4 5 6 7 8 9 10
|
||||||
|
1 2 3 4 5 6 7 8 9 10
|
||||||
|
|
Loading…
Reference in a new issue