]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Silence output of ulimit -t if it doesn't work.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Sep 2007 20:09:18 +0000 (20:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Sep 2007 20:09:18 +0000 (20:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@15128 0785d39b-7218-0410-832d-ea1e28bc413d

tests/configure
tests/configure.in

index abd574b538dcf2e3cff7edf0c5f17de80d2c3f49..3182e4fefa0c7ac36a85c2bb95c8fec56d1fda71 100755 (executable)
@@ -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
index fbc4094eb74776d56b1f2b938826ef7396749815..a9668ec85baa541f5b62a578275d8ad87b26a8c3 100644 (file)
@@ -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=":"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.