]> Savannah Git Hosting - gnulib.git/commitdiff
test-framework-sh: avoid netstat
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jan 2018 03:05:05 +0000 (19:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jan 2018 03:06:15 +0000 (19:06 -0800)
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.

ChangeLog
tests/init.sh

index b0f01dfef37aca76e6dbc8ca94aee556dbaf0837..63be28d5ebf202eed74efa7369c666cffde2cd8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <meyering@fb.com>
 
        update-copyright: add code to handle more special cases
index 3a0e63c549bd2552fba345abc6e943391d16387f..13c1fa4b00e2cfedb9971a8154d69001d12fa575 100644 (file)
@@ -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_