From 31de2d3ccce8e6156932b2360e4d0a2cf53d6098 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 3 Jan 2018 13:29:49 -0800 Subject: [PATCH] =?UTF-8?q?test-framework-sh:=20=E2=80=98ps=20-ef=E2=80=99?= =?UTF-8?q?,=20not=20=E2=80=98ps=20ef=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- ChangeLog | 7 +++++++ build-aux/mktempd | 2 +- tests/init.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea6e730a4..9a95c8ffc 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 7c9d7d683..afa4c22a3 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 13c1fa4b0..93d14f5ae 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_ -- 2.14.3