Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/bin/ps Adjust default column test to the changed ps -s...



details:   https://anonhg.NetBSD.org/src/rev/c2e8e554db3a
branches:  trunk
changeset: 792767:c2e8e554db3a
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Thu Jan 16 04:16:32 2014 +0000

description:
Adjust default column test to the changed ps -s output.

diffstat:

 tests/bin/ps/keywords |  3 ++-
 tests/bin/ps/t_ps.sh  |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 1570cbb31c86 -r c2e8e554db3a tests/bin/ps/keywords
--- a/tests/bin/ps/keywords     Thu Jan 16 02:38:20 2014 +0000
+++ b/tests/bin/ps/keywords     Thu Jan 16 04:16:32 2014 +0000
@@ -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 @@
 logname                login           ALIAS
 lstart         STARTED         LJUST
 lstate         STAT            LJUST
+ltime          LTIME
 majflt         MAJFLT
 minflt         MINFLT
 msgrcv         MSGRCV
diff -r 1570cbb31c86 -r c2e8e554db3a tests/bin/ps/t_ps.sh
--- a/tests/bin/ps/t_ps.sh      Thu Jan 16 02:38:20 2014 +0000
+++ b/tests/bin/ps/t_ps.sh      Thu Jan 16 04:16:32 2014 +0000
@@ -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 @@
        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'
 }



Home | Main Index | Thread Index | Old Index