]> Savannah Git Hosting - gnulib.git/commitdiff
test-framework-sh: ‘ps -ef’, not ‘ps ef’
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jan 2018 21:29:49 +0000 (13:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jan 2018 21:30:08 +0000 (13:30 -0800)
* 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
build-aux/mktempd
tests/init.sh

index ea6e730a49f3b1ae0a2c326957662943a0568c4d..9a95c8ffcd0f9c62db96702acf0828ec29391c96 100644 (file)
--- 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
index 7c9d7d6838bd716b3f74d31fa2455c0aafde4951..afa4c22a3d88d7ebd72ff4ffee60a45036c7bb99 100755 (executable)
@@ -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`
index 13c1fa4b00e2cfedb9971a8154d69001d12fa575..93d14f5aeddec536cc05ff6f3163e2da93816a63 100644 (file)
@@ -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_