summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xbuild-aux/mktempd2
-rw-r--r--tests/init.sh2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ea6e730a49..9a95c8ffcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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_