From f9bcb7139345ecfafc2dd2f4317f34c5aac381fa Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 18 Jul 2011 15:10:47 +0000 Subject: [PATCH] Fix process list spew in verbose kadmin tests Set PS_PID to "ps uwwp" so we display only the process we're trying to point out, and not the whole process table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25021 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/testing/scripts/env-setup.shin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kadmin/testing/scripts/env-setup.shin b/src/kadmin/testing/scripts/env-setup.shin index 8f5ce7eff..9511cec1d 100755 --- a/src/kadmin/testing/scripts/env-setup.shin +++ b/src/kadmin/testing/scripts/env-setup.shin @@ -95,13 +95,13 @@ fi if [ "x$PS_ALL" = "x" ]; then if ps auxww >/dev/null 2>&1; then PS_ALL="ps auxww" - PS_PID="ps auxww" + PS_PID="ps uwwp" elif ps -ef >/dev/null 2>&1; then PS_ALL="ps -ef" PS_PID="ps -fp" else PS_ALL="ps auxww" - PS_PID="ps auxww" + PS_PID="ps uwwp" echo "WARNING! Cannot auto-detect ps type, assuming BSD." fi -- 2.26.2