From de2a44568ae7fca88f9e97ef0f9c6ff4fe347f1f Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 5 Sep 2007 20:09:18 +0000 Subject: [PATCH] Silence output of ulimit -t if it doesn't work. git-svn-id: https://svn.dealii.org/trunk@15128 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/configure | 2 +- tests/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/configure b/tests/configure index abd574b538..3182e4fefa 100755 --- a/tests/configure +++ b/tests/configure @@ -1244,7 +1244,7 @@ echo "${ECHO_T}$TEST_MINUS_L" >&6 echo "$as_me:$LINENO: checking whether we can call ulimit" >&5 echo $ECHO_N "checking whether we can call ulimit... $ECHO_C" >&6 -ulimit -t 2400 +(ulimit -t 2400 2>&1) > /dev/null if test ! $? = 0 ; then echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 diff --git a/tests/configure.in b/tests/configure.in index fbc4094eb7..a9668ec85b 100644 --- a/tests/configure.in +++ b/tests/configure.in @@ -46,7 +46,7 @@ AC_SUBST(TEST_MINUS_L) dnl Check whether we can call 'ulimit' on a system. Some systems do dnl not appear to allow this, for whatever reason. AC_MSG_CHECKING(whether we can call ulimit) -ulimit -t 2400 +(ulimit -t 2400 2>&1) > /dev/null if test ! $? = 0 ; then AC_MSG_RESULT(no) ULIMIT=":" -- 2.39.5