parallel/testsuite/tests-to-run/niceload02.sh

6 lines
136 B
Bash
Raw Permalink Normal View History

#!/bin/bash
echo '### Test niceload exit code'
niceload "perl -e 'exit(3)'" ; echo $? eq 3
niceload "perl -e 'exit(0)'" ; echo $? eq 0