mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 03:11:15 +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:
parent
b1f003e0ff
commit
0767fdaae3
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2025-05-14 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* unposted: Src/params.c: fix silly bug with overloading of PM_UPPER,
|
* unposted: Src/params.c: fix silly bug with overloading of PM_UPPER,
|
||||||
|
|
|
@ -33,6 +33,6 @@
|
||||||
)
|
)
|
||||||
1:whence deals with symlink loops gracefully
|
1:whence deals with symlink loops gracefully
|
||||||
|
|
||||||
whence -s =sh(:P) | grep '.->' | wc -l
|
whence -s =sh(:P) | grep -c '.->'
|
||||||
0:(workers/53524) whence -s doesn't print arrows for symlink-free paths
|
1:(workers/53524) whence -s doesn't print arrows for symlink-free paths
|
||||||
>0
|
>0
|
||||||
|
|
Loading…
Reference in a new issue