]> granicus.if.org Git - procps-ng/commitdiff
ps: Add NEWS and test for exe output
authorCraig Small <csmall@dropbear.xyz>
Tue, 22 Dec 2020 04:31:39 +0000 (15:31 +1100)
committerCraig Small <csmall@dropbear.xyz>
Tue, 22 Dec 2020 04:31:39 +0000 (15:31 +1100)
Only need this for master, as Jim took care of exe
handling for newlib in the ad4269 change.

References:
 commit b556bf5ba82c7e593eb682bbf836c2bc444b2e7d
 commit ad4269f1189d5a7d68765e291bcfa981b6731c25

NEWS
testsuite/ps.test/ps_output.exp

diff --git a/NEWS b/NEWS
index e2887022d40d93020454be885d5a9f2dc579a6b7..9f16221881d97ec8efe6be3615da89c780523205 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ procps-ng NEXT
   * pidof: show worker threads                             Redhat #1803640
   * ps.1: Mention stime alias                              issue #164
   * ps: check also match on truncated 16 char comm names
+  * ps: Add exe output option                              Redhat #1399206
   * pwait: New command waits for a process                 merge #97
   * sysctl: Match systemd directory order                  Debian #950788
   * sysctl: Document directory order                       Debian #951550
index fef4556364eb4a4b35b8356f9d31828616a9c520..139597dbb0dca0164b41c0ec4b65666431c273af 100644 (file)
@@ -28,6 +28,7 @@ set flag_match {
     "bsdtime,cputime,etime,etimes" "\\s*TIME\\s+TIME\\s+ELAPSED\\s+ELAPSED\\s*\(\\s*\\d+:\\d{2}\\s+\\d{2}:\\d{2}:\\d{2}\\s+\(\\d{2}:\)?\\d{2}:\\d{2}\\s+\\d+\\s*\)+$"
     "user,ruser,group,rgroup,uid,ruid,gid,rgid" "\\s*USER\\s+RUSER\\s+GROUP\\s+RGROUP\\s+UID\\s+RUID\\s+GID\\s+RGID\\s+\(\(\\s*\[A-Za-z0-9_+-\]+\\s+\){4}\(\\d+\\s+\){4}\\s*\)+$"
     "cputimes,times" "\\s*TIME\\s+TIME\\s+\\d+\\s+\\d+\\s*"
+    "pid,exe" "\\s*PID\\s+EXE\\s+\\d+\\s+\\s*"
 }
 
 foreach { flag match } $flag_match  {