Files
RedBear-OS/recipes/shells/zsh/source/Test/B12limit.ztst
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

29 lines
731 B
Plaintext

%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
limit | grep UNKNOWN || print OK
0:Check if there is unknown resource(s) in the system
>OK
F:A failure here does not indicate any error in zsh. It just means there
F:is a resource in your system that is unknown to zsh developers. Please
F:report this to zsh-workers mailing list.
() {
set -- ${(f)"$(ulimit -a)"}
set -- ${@%%:*}
typeset -aU unique_options=( "$@" )
# The value of $unique_options is, e.g., ( -t -f '-N 2' -s ... ).
(( $# == $#unique_options ))
}
0:check if limit option letters are unique