mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01: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
|
@ -1,4 +1,9 @@
|
||||||
2016-12-14 Barton E. Schaefer <schaefer@brasslantern.com>
|
2016-12-15 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 40198: Test/V10private.ztst: output of B02typeset differs when
|
||||||
|
(( UID == 0 )) so do not attempt to redo that test in that case
|
||||||
|
|
||||||
|
2016-12-14 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
|
* 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
|
||||||
|
|
||||||
|
|
|
@ -15,11 +15,6 @@
|
||||||
(zmodload -u zsh/param/private && zmodload zsh/param/private)
|
(zmodload -u zsh/param/private && zmodload zsh/param/private)
|
||||||
0:unload and reload the module without crashing
|
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
|
typeset scalar_test=toplevel
|
||||||
() {
|
() {
|
||||||
print $scalar_test
|
print $scalar_test
|
||||||
|
@ -295,6 +290,15 @@ F:future revision will create a global with this assignment
|
||||||
() { private -h SECONDS }
|
() { private -h SECONDS }
|
||||||
0:private parameter may hide a special parameter
|
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
|
%clean
|
||||||
|
|
||||||
rm -r private.TMP
|
rm -r private.TMP
|
||||||
|
|
Loading…
Reference in a new issue