about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-04-02 00:10:34 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-04-02 00:10:42 +0000
commitc57d660764c368d6c1e0104f2b781c85e5a33f0b (patch)
tree4011dc109e437161fdb3c8b288ad005582550529 /Test
parent2bfe01df6f1110a3b25c17b9b9f730da15abb903 (diff)
downloadzsh-c57d660764c368d6c1e0104f2b781c85e5a33f0b.tar.gz
zsh-c57d660764c368d6c1e0104f2b781c85e5a33f0b.tar.xz
zsh-c57d660764c368d6c1e0104f2b781c85e5a33f0b.zip
unposted: Make test platform-independent.
Follow-up to the grandparent commit.
Diffstat (limited to 'Test')
-rw-r--r--Test/D02glob.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index c31eba3c0..f250244e7 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -690,9 +690,9 @@
  # 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 | tr -d '\t '
+ print ${#${bad_pwd:P}}
 0:modifier ':P' with path too long
->16002
+>16001
 
  foo=a
  value="ac"