diff options
author | dana <dana@dana.is> | 2020-04-01 16:59:32 -0500 |
---|---|---|
committer | dana <dana@dana.is> | 2020-04-01 16:59:32 -0500 |
commit | 9818ddeefb95de35114b827d8e878c58aca7b2a5 (patch) | |
tree | 300d404ab1e7caf27643c15a36312e1c76c3b51e | |
parent | 51091e19cd581149c759fcea4f534abe877dd307 (diff) | |
download | zsh-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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Test/D02glob.ztst | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8dbbc573b..74daca7f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-04-01 dana <dana@dana.is> + + * unposted: Test/D02glob.ztst: Fix platform-dependent test + failure introduced by workers/45583 + 2020-03-29 Daniel Shahaf <d.s@daniel.shahaf.name> * 45649: Completion/Unix/Command/_unison: completion: Simplify 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 |