1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-09 12:21:14 +02:00

unposted: Make test platform-independent.

Follow-up to the grandparent commit.
This commit is contained in:
Daniel Shahaf 2020-04-02 00:10:34 +00:00
parent 2bfe01df6f
commit c57d660764
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2020-04-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Test/D02glob.ztst: Make test platform-independent.
2020-04-01 dana <dana@dana.is> 2020-04-01 dana <dana@dana.is>
* 45542: Test/P01privileged.ztst: Use test-directory owner for * 45542: Test/P01privileged.ztst: Use test-directory owner for

View file

@ -690,9 +690,9 @@
# This is a bit brittle as it depends on PATH_MAX. # This is a bit brittle as it depends on PATH_MAX.
# We could use sysconf.. # We could use sysconf..
bad_pwd="/${(l:16000:: :):-}" bad_pwd="/${(l:16000:: :):-}"
print ${bad_pwd:P} | wc -c | tr -d '\t ' print ${#${bad_pwd:P}}
0:modifier ':P' with path too long 0:modifier ':P' with path too long
>16002 >16001
foo=a foo=a
value="ac" value="ac"