zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: 5.8.1.2-test - test failures running as root
Date: Mon, 11 Apr 2022 14:14:01 -0700	[thread overview]
Message-ID: <CAH+w=7bKMvVzqw2c_sZkkWAzcTPnwNMkX7BY=hM2xw2azN3B2Q@mail.gmail.com> (raw)

These are probably not new; found while experimenting with reproducing
Axel's test fails.

The first is obviously because of root's expanded privileges.  The
second probably also so, just not immediately clear why.

./D02glob.ztst: starting.
--- /tmp/zsh.ztst.65749/ztst.out    2022-04-11 12:33:35.043329191 -0700
+++ /tmp/zsh.ztst.65749/ztst.tout    2022-04-11 12:33:35.063328833 -0700
@@ -1,3 +1,9 @@
+glob.tmp/secret-d000/dir   glob.tmp/secret-d000/file
+glob.tmp/secret-d111/dir   glob.tmp/secret-d111/file
 glob.tmp/secret-d444/dir   glob.tmp/secret-d444/file
+glob.tmp/secret-s000/dir   glob.tmp/secret-s000/file
+glob.tmp/secret-s111/dir   glob.tmp/secret-s111/file
 glob.tmp/secret-s444/dir   glob.tmp/secret-s444/file
-glob.tmp/secret-d111/file  glob.tmp/secret-s111/file
+glob.tmp/secret-d000/file  glob.tmp/secret-d111/file
+glob.tmp/secret-d444/file  glob.tmp/secret-s000/file
+glob.tmp/secret-s111/file  glob.tmp/secret-s444/file
Test ./D02glob.ztst failed: output differs from expected as shown above for:
 for 1 in 000 111 444 ; do
  chmod 777 glob.tmp/secret-d$1
  touch glob.tmp/secret-d$1/file
  mkdir -m 777 glob.tmp/secret-d$1/dir
  touch glob.tmp/secret-d$1/dir/file
  chmod $1 glob.tmp/secret-d$1
 done
 print -raC 2 -- glob.tmp/secret-*/* glob.tmp/secret-*/file
Was testing: names inside unreadable directories can be globbed if searchable
./D02glob.ztst: test failed.


./E03posix.ztst: starting.
Test ./E03posix.ztst was expected to fail, but passed.
Was testing: EUID is not a special variable
./E03posix.ztst: test XPassed.


             reply	other threads:[~2022-04-11 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 21:14 Bart Schaefer [this message]
2022-04-11 22:38 ` [PATCH] " Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7bKMvVzqw2c_sZkkWAzcTPnwNMkX7BY=hM2xw2azN3B2Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    --subject='Re: 5.8.1.2-test - test failures running as root' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).