mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-24 05:11:08 +02: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,5 +1,8 @@
|
||||||
2020-03-26 Daniel Shahaf <d.s@daniel.shahaf.name>
|
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,
|
* 45591 (Cf. 45587, 45620): Test/V01zmodload.ztst,
|
||||||
Test/V07pcre.ztst: In the test suite, centralize testing that
|
Test/V07pcre.ztst: In the test suite, centralize testing that
|
||||||
compiled modules can be loaded successfully.
|
compiled modules can be loaded successfully.
|
||||||
|
|
|
@ -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
|
%test
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue