* PATCH: change group explicitly
@ 2000-01-06 8:38 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-01-06 8:38 UTC (permalink / raw)
To: zsh-workers
Inheriting directory group when creating files are standard behaviour
in BSD. So I think test suite should call chgrp explicitly.
Index: Test/07cond.ztst
===================================================================
RCS file: /projects/zsh/zsh/Test/07cond.ztst,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 07cond.ztst
--- Test/07cond.ztst 1999/12/26 22:57:23 1.1.1.3
+++ Test/07cond.ztst 2000/01/06 08:29:07
@@ -11,6 +11,7 @@
touch unmodified
touch zerolength
+ chgrp $EGID zerolength
print 'Garbuglio' >nonzerolength
mkdir modish
@@ -97,8 +98,6 @@
[[ -O zerolength ]]
0:-O cond
-# there may be strange cases where this doesn't work, e.g.
-# inherited funny groups for directories via setgid.
[[ -G zerolength ]]
0:-G cond
--
Tanaka Akira
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-06 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-06 8:38 PATCH: change group explicitly Tanaka Akira
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).