mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04: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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user