summaryrefslogtreecommitdiff
path: root/tests/backtrace-subr.sh
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-01-05 21:44:53 +0100
committerMark Wielaard <mjw@redhat.com>2014-01-05 21:44:53 +0100
commit7c463121a7806dfc0d7a50d130a5d49e074b742c (patch)
tree679b4b5976354d863a1aec6361f28c3768d44d01 /tests/backtrace-subr.sh
parent14e5056319def0555bc4183488e7af5c14a3fb28 (diff)
parent27aae18ce872409b70afef8503941c7e75c8d93d (diff)
downloadelfutils-robustify.tar.gz
Merge branch 'master' into robustifyrobustify
Diffstat (limited to 'tests/backtrace-subr.sh')
-rw-r--r--tests/backtrace-subr.sh3
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"