29 # @run shell lots_of_updates.sh
30
31 OS=`uname -s`
32 case "$OS" in
33 Windows_* | CYGWIN* )
34 echo "ulimit not on Windows"
35 exit 0
36 ;;
37 * )
38 CLASSPATH=${TESTCLASSES}:${TESTSRC}
39 ;;
40 esac
41 export CLASSPATH
42
43 # hard limit needs to be less than 10000 for this bug
44 NOFILES=`ulimit -n -H`
45 if [ "$NOFILES" = "unlimited" ] || [ $NOFILES -ge 10000 ]; then
46 ulimit -n 2048
47 fi
48
49 ${TESTJAVA}/bin/java ${TESTVMOPTS} LotsOfUpdates
|
29 # @run shell lots_of_updates.sh
30
31 OS=`uname -s`
32 case "$OS" in
33 Windows_* | CYGWIN* )
34 echo "ulimit not on Windows"
35 exit 0
36 ;;
37 * )
38 CLASSPATH=${TESTCLASSES}:${TESTSRC}
39 ;;
40 esac
41 export CLASSPATH
42
43 # hard limit needs to be less than 10000 for this bug
44 NOFILES=`ulimit -n -H`
45 if [ "$NOFILES" = "unlimited" ] || [ $NOFILES -ge 10000 ]; then
46 ulimit -n 2048
47 fi
48
49 ${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} LotsOfUpdates
|