summaryrefslogtreecommitdiff
path: root/tests/test-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-lib.sh')
-rw-r--r--tests/test-lib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index ceb4eb673..8bb88d974 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -14,6 +14,13 @@ skip_test_()
Exit 77
}
+getlimits_()
+{
+ eval $(getlimits)
+ test "$INT_MAX" ||
+ error_ "Error running getlimits"
+}
+
require_acl_()
{
getfacl --version < /dev/null > /dev/null 2>&1 \