ksh/check-build.sh

12 lines
333 B
Bash
Raw Normal View History

#!/bin/bash
test $(ulimit -l) -lt 64 && exit 1
test $(ulimit -s) -lt 8192 && exit 1
if test $(getconf LONG_BIT) -le 32 ; then
test $(ulimit -m) -lt 3145728 && exit 1
test $(ulimit -v) -lt 4194304 && exit 1
else
test $(ulimit -m) -lt 4194304 && exit 1
test $(ulimit -v) -lt 6683794 && exit 1
fi
exit 0