mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-01 18:37:55 +00:00
c81a15677d
/bin/dash?). Unittest failed if /bin/sh was dash.
19 lines
357 B
Bash
19 lines
357 B
Bash
#!/bin/bash
|
|
|
|
PAR=parallel
|
|
SERVER1=parallel-server3
|
|
SERVER2=parallel-server2
|
|
|
|
echo '### Test $PARALLEL'
|
|
echo | PARALLEL=--number-of-cpus $PAR
|
|
seq 1 2 | PARALLEL="-S$SERVER1
|
|
-Sssh -l parallel $SERVER2
|
|
-j1" $PAR -kv echo
|
|
|
|
echo '### Test ~/.parallelrc'
|
|
echo "-S$SERVER1
|
|
-Sssh -l parallel $SERVER2
|
|
-j1" > ~/.parallelrc
|
|
seq 1 2 | $PAR -kv echo
|
|
rm ~/.parallelrc
|