1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-14 08:08:10 +02:00

53626: tests: make whence -s test use grep -c instead of wc -l

fixes broken test on platforms like macos where `wc -l` output is padded
This commit is contained in:
dana 2025-05-16 12:06:39 -05:00
parent b1f003e0ff
commit 0767fdaae3
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2025-05-16 dana <dana@dana.is>
* 53626: Test/B13whence.ztst: make `whence -s` test use `grep -c`
instead of `wc -l`
2025-05-14 Bart Schaefer <schaefer@zsh.org>
* unposted: Src/params.c: fix silly bug with overloading of PM_UPPER,

View file

@ -33,6 +33,6 @@
)
1:whence deals with symlink loops gracefully
whence -s =sh(:P) | grep '.->' | wc -l
0:(workers/53524) whence -s doesn't print arrows for symlink-free paths
whence -s =sh(:P) | grep -c '.->'
1:(workers/53524) whence -s doesn't print arrows for symlink-free paths
>0