Skip to content

Commit

Permalink
typos test-lib.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
youyyytrok authored Dec 20, 2024
1 parent 742aec9 commit ae08a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/lib/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ test_wait_open_tcp_port_10_sec() {
for i in $(test_seq 1 100)
do
# this is not a perfect check, but it's portable.
# cant count on ss. not installed everywhere.
# cant count on netstat using : or . as port delim. differ across platforms.
# can't count on ss. not installed everywhere.
# can't count on netstat using : or . as port delim. differ across platforms.
echo $(netstat -aln | egrep "^tcp.*LISTEN" | egrep "[.:]$1" | wc -l) -gt 0
if [ $(netstat -aln | egrep "^tcp.*LISTEN" | egrep "[.:]$1" | wc -l) -gt 0 ]; then
return 0
Expand Down

0 comments on commit ae08a77

Please sign in to comment.