Module Name: src
Committed By: mlelstv
Date: Thu Jan 16 04:16:32 UTC 2014
Modified Files:
src/tests/bin/ps: keywords t_ps.sh
Log Message:
Adjust default column test to the changed ps -s output.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/bin/ps/keywords src/tests/bin/ps/t_ps.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/bin/ps/keywords
diff -u src/tests/bin/ps/keywords:1.1 src/tests/bin/ps/keywords:1.2
--- src/tests/bin/ps/keywords:1.1 Sat Mar 17 16:33:11 2012
+++ src/tests/bin/ps/keywords Thu Jan 16 04:16:32 2014
@@ -1,4 +1,4 @@
-# $NetBSD: keywords,v 1.1 2012/03/17 16:33:11 jruoho Exp $
+# $NetBSD: keywords,v 1.2 2014/01/16 04:16:32 mlelstv Exp $
#
# Table of keywords for use with ps "-o" option.
#
@@ -56,6 +56,7 @@ login LOGIN LJUST
logname login ALIAS
lstart STARTED LJUST
lstate STAT LJUST
+ltime LTIME
majflt MAJFLT
minflt MINFLT
msgrcv MSGRCV
Index: src/tests/bin/ps/t_ps.sh
diff -u src/tests/bin/ps/t_ps.sh:1.1 src/tests/bin/ps/t_ps.sh:1.2
--- src/tests/bin/ps/t_ps.sh:1.1 Sat Mar 17 16:33:11 2012
+++ src/tests/bin/ps/t_ps.sh Thu Jan 16 04:16:32 2014
@@ -1,4 +1,4 @@
-# $NetBSD: t_ps.sh,v 1.1 2012/03/17 16:33:11 jruoho Exp $
+# $NetBSD: t_ps.sh,v 1.2 2014/01/16 04:16:32 mlelstv Exp $
#
# Copyright (c) 2007 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -94,7 +94,7 @@ setup_keywords()
default_keywords='pid tty stat time command'
j_keywords='user pid ppid pgid sess jobc state tt time command'
l_keywords='uid pid ppid cpu pri nice vsz rss wchan state tt time command'
- s_keywords='uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt time command'
+ s_keywords='uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt ltime command'
u_keywords='user pid %cpu %mem vsz rss tt state start time command'
v_keywords='pid state time sl re pagein vsz rss lim tsiz %cpu %mem command'
}