* tests/misc/tty-quoting.sh: Since commit v9.12-10-g782a1e5bc,
env(1) calls isatty() and thus induces another ioctl()
which causes the test to skip.  The env(1) is rundant anyway
as strace will avoid shell builtins, so just remove the redundant
env calls.
---
 tests/misc/tty-quoting.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/misc/tty-quoting.sh b/tests/misc/tty-quoting.sh
index 833dfaedb..b967c45d1 100755
--- a/tests/misc/tty-quoting.sh
+++ b/tests/misc/tty-quoting.sh
@@ -36,12 +36,12 @@ run_tty_ ()
   grep 'ioctl.*TCGETS' run_tty.strace >/dev/null
 }
 
-run_tty_ env test -t 1 ||
+run_tty_ test -t 1 ||
  skip_ 'strace cannot make standard output appear to be a terminal'
 
 # We're redirecting to file so this doesn't happen on glibc
 # but be defensive on systems that might probe in this case.
-run_tty_ env printf foo >printf.t &&
+run_tty_ printf foo >printf.t &&
  skip_ 'libc buffering induced a tty probe'
 
 for cmd in basename du dirname 'ls -w0' readlink 'realpath --relative-to=.' \
-- 
2.55.0


Reply via email to