diff --git a/doc/FUTURE_IDEAS b/doc/FUTURE_IDEAS index 3fa7824a..675440a6 100644 --- a/doc/FUTURE_IDEAS +++ b/doc/FUTURE_IDEAS @@ -1,8 +1,3 @@ --N for --pipe. Fixed race condition in --pipe. -Tests for --pipe. -Passes testsuite. - - codecoverage Testsuite: sem without ~/.parallel diff --git a/src/parallel b/src/parallel index 3d3673bc..dccb5303 100755 --- a/src/parallel +++ b/src/parallel @@ -11,7 +11,7 @@ use strict; use Carp; $::oodebug=0; -$Global::original_sigterm = $SIG{TERM}; +$Global::original_sigterm = $SIG{TERM} || sub { exit 0; }; # $SIG{TERM} is not set on Mac OS X $SIG{TERM} = sub {}; # Dummy until jobs really start open $Global::original_stderr, ">&STDERR" or die "Can't dup STDERR: $!"; diff --git a/testsuite/tests-to-run/test41.sh b/testsuite/tests-to-run/test41.sh index 3e950c10..afcbbc1e 100644 --- a/testsuite/tests-to-run/test41.sh +++ b/testsuite/tests-to-run/test41.sh @@ -5,5 +5,5 @@ SERVER2=parallel-server2 echo '### Test -M (--retries to avoid false errors)' -seq 1 30 | parallel -j5 --retries 3 -k -M -S $SERVER1,parallel@$SERVER2 echo -seq 1 30 | parallel -j10 --retries 3 -k -M -S $SERVER1,parallel@$SERVER2 echo +seq 1 30 | parallel -j5 --retries 3 -k -M -S $SERVER1,parallel@$SERVER2 echo 2>/dev/null +seq 1 30 | parallel -j10 --retries 3 -k -M -S $SERVER1,parallel@$SERVER2 echo 2>/dev/null