parallel/unittest/tests-to-run/test21.sh
Ole Tange c81a15677d Some systems does not receive the SIGCHLD (maybe when running under
/bin/dash?).
Unittest failed if /bin/sh was dash.
2010-06-16 05:03:52 +02:00

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