From c4f18c29c794cf54fbab933082ac273cba795396 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 26 Mar 2020 07:00:18 +0000 Subject: 45584, 45620: zsh/rlimits: Skip the tests for this module when it wasn't compiled in. --- Test/B12limit.ztst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Test/B12limit.ztst') diff --git a/Test/B12limit.ztst b/Test/B12limit.ztst index 922751369..48d33e6e3 100644 --- a/Test/B12limit.ztst +++ b/Test/B12limit.ztst @@ -1,4 +1,12 @@ -# check if there is unknown resouce(s) + +%prep + + if ! zmodload zsh/rlimits 2>/dev/null + then + ZTST_unimplemented="the zsh/rlimits module was disabled by configure (see config.modules)" + return 0 + fi + zmodload zsh/rlimits %test -- cgit 1.4.1