about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authordana <dana@dana.is>2020-04-01 16:59:32 -0500
committerdana <dana@dana.is>2020-04-01 16:59:32 -0500
commit9818ddeefb95de35114b827d8e878c58aca7b2a5 (patch)
tree300d404ab1e7caf27643c15a36312e1c76c3b51e /Test
parent51091e19cd581149c759fcea4f534abe877dd307 (diff)
downloadzsh-9818ddeefb95de35114b827d8e878c58aca7b2a5.tar.gz
zsh-9818ddeefb95de35114b827d8e878c58aca7b2a5.tar.xz
zsh-9818ddeefb95de35114b827d8e878c58aca7b2a5.zip
unposted: D02glob: Fix platform-dependent test failure
workers/45583 introduced a test failure on macOS, *BSD, and Solaris, where wc
always outputs leading white space
Diffstat (limited to 'Test')
-rw-r--r--Test/D02glob.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 041784310..c31eba3c0 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -690,7 +690,7 @@
  # This is a bit brittle as it depends on PATH_MAX.
  # We could use sysconf..
  bad_pwd="/${(l:16000:: :):-}"
- print ${bad_pwd:P} | wc -c
+ print ${bad_pwd:P} | wc -c | tr -d '\t '
 0:modifier ':P' with path too long
 >16002