svn rev #25021: trunk/src/kadmin/testing/scripts/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Jul 18 11:10:47 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25021
Commit By: ghudson
Log Message:
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.


Changed Files:
U   trunk/src/kadmin/testing/scripts/env-setup.shin
Modified: trunk/src/kadmin/testing/scripts/env-setup.shin
===================================================================
--- trunk/src/kadmin/testing/scripts/env-setup.shin	2011-07-17 17:51:35 UTC (rev 25020)
+++ trunk/src/kadmin/testing/scripts/env-setup.shin	2011-07-18 15:10:47 UTC (rev 25021)
@@ -95,13 +95,13 @@
 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
 




More information about the cvs-krb5 mailing list