mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 07:27:55 +00:00
9a25177a19
Added CITATION. --title for pod2html. Testsuite updates due to LinuxMint15/17 diffs.
25 lines
826 B
Bash
25 lines
826 B
Bash
#!/bin/bash
|
|
|
|
SERVER1=parallel-server3
|
|
SERVER2=parallel-server2
|
|
|
|
echo '### Test $PARALLEL - single line'
|
|
echo | PARALLEL=--number-of-cpus parallel
|
|
(echo 1; echo 1) | PARALLEL="-Sparallel\@$SERVER1 -Sssh\ -l\ parallel\ $SERVER2 -j1" parallel -kv hostname\; echo | sort
|
|
|
|
echo '### Test $PARALLEL - multi line'
|
|
(echo 1; echo 1) | PARALLEL="-Sparallel\@$SERVER1
|
|
-Sssh\ -l\ parallel\ $SERVER2
|
|
-j1" parallel -kv hostname\; echo | sort
|
|
|
|
echo '### Test ~/.parallel/config - single line'
|
|
echo "-Sparallel\@$SERVER1 -Sssh\ -l\ parallel\ $SERVER2 -j1" > ~/.parallel/config
|
|
(echo 1; echo 1) | parallel -kv hostname\; echo | sort
|
|
|
|
echo '### Test ~/.parallel/config - multi line'
|
|
echo "-Sparallel\@$SERVER1
|
|
-Sssh\ -l\ parallel\ $SERVER2
|
|
-j1" > ~/.parallel/config
|
|
(echo 1; echo 1) | parallel -kv hostname\; echo | sort
|
|
rm ~/.parallel/config
|