diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | build-aux/mktempd | 2 | ||||
-rw-r--r-- | tests/init.sh | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2018-01-03 Paul Eggert <eggert@cs.ucla.edu> + + 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 <eblake@redhat.com> 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_ |