From: bangerth Date: Wed, 5 Sep 2007 20:09:18 +0000 (+0000) Subject: Silence output of ulimit -t if it doesn't work. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2a44568ae7fca88f9e97ef0f9c6ff4fe347f1f;p=dealii-svn.git Silence output of ulimit -t if it doesn't work. git-svn-id: https://svn.dealii.org/trunk@15128 0785d39b-7218-0410-832d-ea1e28bc413d --- 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=":"