From c57d660764c368d6c1e0104f2b781c85e5a33f0b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 2 Apr 2020 00:10:34 +0000 Subject: unposted: Make test platform-independent. Follow-up to the grandparent commit. --- Test/D02glob.ztst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Test') 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" -- cgit 1.4.1