summaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-01-02 19:05:05 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-01-02 19:06:15 -0800
commit66a73cf890f4e6f301a7a3e098e745d5ea1aa158 (patch)
tree6a1ecf008a5cdd89b5b1276a941b7ad6c6fda11c /tests/init.sh
parent8ad5d6eb9fed61bec15a6939c7edf184c3792dfb (diff)
downloadgnulib-66a73cf890f4e6f301a7a3e098e745d5ea1aa158.tar.gz
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.
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh2
1 files changed, 1 insertions, 1 deletions
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_