Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Before 5.3.1 (was Re: caching mechanism and Re: PATCH Completion for _yum)



On Dec 15,  9:38am, Peter Stephenson wrote:
} Subject: Re: caching mechanism and Re: PATCH Completion for _yum
}
} On Wed, 14 Dec 2016 18:46:41 +0100
} Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
} > I had held 40173 back anyway. (is printf - warranting a 5.3.1 by the way?) 
} 
} We haven't had any big changes, so I can probably produce a 5.3.1 this
} weekend; if I start waiting for other things it's going to drift on to
} the point where it becomes less useful as a quick update.

I'll commit the following just to make Ray happy:


diff --git a/Test/V10private.ztst b/Test/V10private.ztst
index 7ebf5a8..78ecd48 100644
--- a/Test/V10private.ztst
+++ b/Test/V10private.ztst
@@ -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

-- 
Barton E. Schaefer



Messages sorted by: Reverse Date, Date, Thread, Author