diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Test/B12limit.ztst | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index bdaa3ae9b..b82f1a070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-03-26 Daniel Shahaf <d.s@daniel.shahaf.name> + * 45584, 45620: Test/B12limit.ztst: zsh/rlimits: Skip the tests + for this module when it wasn't compiled in. + * 45591 (Cf. 45587, 45620): Test/V01zmodload.ztst, Test/V07pcre.ztst: In the test suite, centralize testing that compiled modules can be loaded successfully. 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 |