From: Paul Eggert Date: Wed, 3 Jan 2018 21:29:49 +0000 (-0800) Subject: test-framework-sh: ‘ps -ef’, not ‘ps ef’ X-Git-Tag: v1.0~5774 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7e7c5c7952b7de1e33c8eba891cc425d5d8d7803;p=gnulib.git test-framework-sh: ‘ps -ef’, not ‘ps ef’ * tests/init.sh (rand_bytes_): Put ‘-’ before new-style ps options. Suggested by Bob Proulx (Bug#29968). * build-aux/mktempd (rand_bytes): Make it like tests/init.sh. --- diff --git a/ChangeLog b/ChangeLog index ea6e730a49..9a95c8ffcd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-01-03 Paul Eggert + + test-framework-sh: ‘ps -ef’, not ‘ps ef’ + * tests/init.sh (rand_bytes_): Put ‘-’ before new-style ps options. + Suggested by Bob Proulx (Bug#29968). + * build-aux/mktempd (rand_bytes): Make it like tests/init.sh. + 2018-01-02 Eric Blake stat-time: silence -Wunused-parameter regression diff --git a/build-aux/mktempd b/build-aux/mktempd index 7c9d7d6838..afa4c22a3d 100755 --- a/build-aux/mktempd +++ b/build-aux/mktempd @@ -49,7 +49,7 @@ rand_bytes() return fi - 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 ` n_plus_50=`expr $n + 50` diff --git a/tests/init.sh b/tests/init.sh index 13c1fa4b00..93d14f5aed 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' + 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_