diff options
| author | Mark Wielaard <[email protected]> | 2014-01-04 15:41:04 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-01-04 15:41:04 +0100 |
| commit | 1051a0c8ad8b69725384de20647a982b283701f0 (patch) | |
| tree | dcb5055df6c24bc1368fe0a43c9da02162fe880c /tests/backtrace-subr.sh | |
| parent | 4f1c96d8809a2ccbfd7d54bbca9a3a0c1e5f2796 (diff) | |
tests: backtrace-subr.sh skip check_native_core test if core ulimit fails.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/backtrace-subr.sh')
| -rw-r--r-- | tests/backtrace-subr.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh index 580a1cea..e7ece91c 100644 --- a/tests/backtrace-subr.sh +++ b/tests/backtrace-subr.sh @@ -109,7 +109,8 @@ check_native_core() SAVED_VALGRIND_CMD="$VALGRIND_CMD" unset VALGRIND_CMD - core="core.`ulimit -c unlimited; set +ex; testrun ${abs_builddir}/$child --gencore; true`" + # Skip the test if we cannot adjust core ulimit. + core="core.`ulimit -c unlimited || exit 77; set +ex; testrun ${abs_builddir}/$child --gencore; true`" if [ "x$SAVED_VALGRIND_CMD" != "x" ]; then VALGRIND_CMD="$SAVED_VALGRIND_CMD" |
