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:
parent
32c4ed3977
commit
c4f18c29c7
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue