bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29947: Replace 'netstat' with 'ss'


From: Kristýna Streitová
Subject: bug#29947: Replace 'netstat' with 'ss'
Date: Tue, 2 Jan 2018 16:27:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

Hello,

Since 'netstat' command (included in the 'net-tools' package) is
deprecated, we should switch from 'netstat -n' to 'ss -n' in
tests/init.sh file.

I'm adding a simple patch:

Index: gzip-1.8/tests/init.sh
===================================================================
--- gzip-1.8.orig/tests/init.sh
+++ gzip-1.8/tests/init.sh
@@ -525,7 +525,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; ss -n'
   data_=` (eval "$cmds_") 2>&1 | gzip `

   # Ensure that $data_ has length at least 50+$n_


Best regards,
Kristyna Streitova





reply via email to

[Prev in Thread] Current Thread [Next in Thread]