From 2f05cd069f5ddb38b2c2851d33f812c7b8f80b1e Mon Sep 17 00:00:00 2001 From: Nathan Yee <nyee32@schedmd.com> Date: Wed, 23 Sep 2015 09:36:25 -0700 Subject: [PATCH] disable test if limits not enforced bug 1874 --- testsuite/expect/test2.25 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/expect/test2.25 b/testsuite/expect/test2.25 index 03c52752680..37dd46b8e9c 100755 --- a/testsuite/expect/test2.25 +++ b/testsuite/expect/test2.25 @@ -41,6 +41,9 @@ print_header $test_id if {![test_super_user]} { send_user "\nWARNING: This test can't be run except as SlurmUser or root\n" exit 0 +} elseif {![test_limits_enforced]} { + send_user "\nWARNING: AccountingStorageEnforce limits must be set\n" + exit 0 } proc mod_assoc_vals { } { -- GitLab