diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-03-26 07:00:18 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-03-27 01:14:42 +0000 |
| commit | c4f18c29c794cf54fbab933082ac273cba795396 (patch) | |
| tree | d7f6925ad1d7956ddc7991d4982236305b9111b8 /Test | |
| parent | 45591 (Cf. 45587, 45620): In the test suite, centralize testing that compiled... (diff) | |
| download | zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar.gz zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar.bz2 zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar.lz zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar.xz zsh-c4f18c29c794cf54fbab933082ac273cba795396.tar.zst zsh-c4f18c29c794cf54fbab933082ac273cba795396.zip | |
45584, 45620: zsh/rlimits: Skip the tests for this module when it wasn't compiled in.
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/B12limit.ztst | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
