- Notifications
You must be signed in to change notification settings - Fork928
Commit2413106
authored
fix: improve shell compatibility of netstat check in test (#16141)
When I wrote the original just the other day, I used `$?`, which is fineon CI and in most cases, but not when the person running the test hastheir system shell set to fish (Fish uses $status) instead. In theinterest of letting this test pass locally, I'll instead just grab theline count of the grep output. However, `wc` is padded on macos withspaces, so we need to get rid of those too.1 parent5380690 commit2413106
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1219 | 1219 |
| |
1220 | 1220 |
| |
1221 | 1221 |
| |
1222 |
| - | |
1223 |
| - | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1224 | 1226 |
| |
1225 | 1227 |
| |
1226 | 1228 |
| |
|
0 commit comments
Comments
(0)