emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#29947: closed (Replace 'netstat' with 'ss')


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#29947: closed (Replace 'netstat' with 'ss')
Date: Wed, 03 Jan 2018 03:08:02 +0000

Your message dated Tue, 2 Jan 2018 19:07:22 -0800
with message-id <address@hidden>
and subject line Re: bug#29947: Replace 'netstat' with 'ss'
has caused the debbugs.gnu.org bug report #29947,
regarding Replace 'netstat' with 'ss'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
29947: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29947
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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



--- End Message ---
--- Begin Message --- Subject: Re: bug#29947: Replace 'netstat' with 'ss' Date: Tue, 2 Jan 2018 19:07:22 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Thanks. I installed the attached slightly-simpler patch into Gnulib, and it should appear in the next Gzip release.

Attachment: 0001-test-framework-sh-avoid-netstat.txt
Description: Text document


--- End Message ---

reply via email to

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