Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2014-01-04 Mark Wielaard <mjw@redhat.com>
+
+ * backtrace-subr.sh (check_native_core): Skip, exit 77, the test
+ if we cannot adjust core ulimit.
+
2014-01-04 Mark Wielaard <mjw@redhat.com>
* cleanup-13.c (force_unwind_stop): Removed.
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"