From: Paul Eggert Date: Wed, 3 Jan 2018 03:05:05 +0000 (-0800) Subject: test-framework-sh: avoid netstat X-Git-Tag: v1.0~5776 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=66a73cf890f4e6f301a7a3e098e745d5ea1aa158;p=gnulib.git test-framework-sh: avoid netstat Problem reported by Kristýna Streitová (Bug#29947). * tests/init.sh (rand_bytes_): Stop using netstat, as it's deprecated on SuSE and it's not that important anyway. --- diff --git a/ChangeLog b/ChangeLog index b0f01dfef3..63be28d5eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-01-02 Paul Eggert + + test-framework-sh: avoid netstat + Problem reported by Kristýna Streitová (Bug#29947). + * tests/init.sh (rand_bytes_): Stop using netstat, as it's + deprecated on SuSE and it's not that important anyway. + 2018-01-01 Jim Meyering update-copyright: add code to handle more special cases diff --git a/tests/init.sh b/tests/init.sh index 3a0e63c549..13c1fa4b00 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -527,7 +527,7 @@ rand_bytes_ () fi n_plus_50_=`expr $n_ + 50` - cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n' + cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef' data_=` (eval "$cmds_") 2>&1 | gzip ` # Ensure that $data_ has length at least 50+$n_