diff options
| author | dana <dana@dana.is> | 2025-05-16 12:06:39 -0500 |
|---|---|---|
| committer | dana <dana@dana.is> | 2025-05-16 12:11:50 -0500 |
| commit | 0767fdaae34cd088ad12f081a2d95e298a43879b (patch) | |
| tree | f1856651f7afad8506c122c17bc3c2e567b7ec41 /Test | |
| parent | unposted: NEWS: mention _shadow + mkshadow (diff) | |
| download | zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar.gz zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar.bz2 zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar.lz zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar.xz zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.tar.zst zsh-0767fdaae34cd088ad12f081a2d95e298a43879b.zip | |
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
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/B13whence.ztst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/B13whence.ztst b/Test/B13whence.ztst index 5132c2c04..384dcceeb 100644 --- a/Test/B13whence.ztst +++ b/Test/B13whence.ztst @@ -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 |
