about summary refs log tree commit diff
path: root/Test/E03posix.ztst
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2022-04-11 15:45:42 -0700
committerBart Schaefer <schaefer@zsh.org>2022-04-11 15:45:42 -0700
commitf4fb3e7f047b731c5cd52d3c0b6cedcd75d9b4b9 (patch)
tree0b6945d6b22bec81d8cddee9d18761a761478488 /Test/E03posix.ztst
parent1039b09c0c897731b2fbd8b1fb14bf6155007ab5 (diff)
downloadzsh-f4fb3e7f047b731c5cd52d3c0b6cedcd75d9b4b9.tar.gz
zsh-f4fb3e7f047b731c5cd52d3c0b6cedcd75d9b4b9.tar.xz
zsh-f4fb3e7f047b731c5cd52d3c0b6cedcd75d9b4b9.zip
50043: avoid spurious test failures when "make check" as root
Diffstat (limited to 'Test/E03posix.ztst')
-rw-r--r--Test/E03posix.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/E03posix.ztst b/Test/E03posix.ztst
index caab97ab6..6ac4d1732 100644
--- a/Test/E03posix.ztst
+++ b/Test/E03posix.ztst
@@ -153,7 +153,7 @@ F:This may also need to apply to multibyte whitespace
 F:POSIX has neither math functions nor floating point
 >42
 
-  ARGV0=sh $ZTST_testdir/../Src/zsh -c 'EUID=10; echo "$EUID"'
+  ARGV0=sh $ZTST_testdir/../Src/zsh -c 'EUID=1; EUID=10; echo $EUID'
 -f:EUID is not a special variable
 >10