1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-01 20:11:06 +01:00

45584, 45620: zsh/rlimits: Skip the tests for this module when it wasn't compiled in.

This commit is contained in:
Daniel Shahaf 2020-03-26 07:00:18 +00:00
parent 32c4ed3977
commit c4f18c29c7
2 changed files with 12 additions and 1 deletions

View file

@ -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