mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to redo that test in that case
This commit is contained in:
parent
dc1f3aae60
commit
c3e43541c0
2 changed files with 15 additions and 6 deletions
|
|
@ -15,11 +15,6 @@
|
|||
(zmodload -u zsh/param/private && zmodload zsh/param/private)
|
||||
0:unload and reload the module without crashing
|
||||
|
||||
ZTST_verbose=0 $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh private.TMP/B02
|
||||
0:typeset still works with zsh/param/private module loaded
|
||||
*>*
|
||||
*>*
|
||||
|
||||
typeset scalar_test=toplevel
|
||||
() {
|
||||
print $scalar_test
|
||||
|
|
@ -295,6 +290,15 @@ F:future revision will create a global with this assignment
|
|||
() { private -h SECONDS }
|
||||
0:private parameter may hide a special parameter
|
||||
|
||||
if (( UID )); then
|
||||
ZTST_verbose=0 $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh private.TMP/B02
|
||||
else
|
||||
ZTST_skip="cannot re-run typeset tests when tests run as superuser"
|
||||
fi
|
||||
0:typeset still works with zsh/param/private module loaded
|
||||
*>*
|
||||
*>*
|
||||
|
||||
%clean
|
||||
|
||||
rm -r private.TMP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue