Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 07:22:47 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278618 - head/bin/pkill/tests
Message-ID:  <201502120722.t1C7Mlm5013230@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Feb 12 07:22:46 2015
New Revision: 278618
URL: https://svnweb.freebsd.org/changeset/base/278618

Log:
  Add debugging output to help track down the recent Jenkins failures

Modified:
  head/bin/pkill/tests/pgrep-j_test.sh

Modified: head/bin/pkill/tests/pgrep-j_test.sh
==============================================================================
--- head/bin/pkill/tests/pgrep-j_test.sh	Thu Feb 12 07:21:22 2015	(r278617)
+++ head/bin/pkill/tests/pgrep-j_test.sh	Thu Feb 12 07:22:46 2015	(r278618)
@@ -40,7 +40,7 @@ if [ `id -u` -eq 0 ]; then
 	if [ "$pid1" = "$pid2" ]; then
 		echo "ok 1 - $name"
 	else
-		echo "not ok 1 - $name"
+		echo "not ok 1 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'"
 	fi
 	[ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid)
 	[ -f ${PWD}/${base}_1_2.pid ] && kill $(cat ${PWD}/${base}_1_2.pid)
@@ -66,7 +66,7 @@ if [ `id -u` -eq 0 ]; then
 	if [ "$pid1" = "$pid2" ]; then
 		echo "ok 2 - $name"
 	else
-		echo "not ok 2 - $name"
+		echo "not ok 2 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'"
 	fi
 	[ -f ${PWD}/${base}_2_1.pid ] && kill $(cat ${PWD}/${base}_2_1.pid)
 	[ -f ${PWD}/${base}_2_2.pid ] && kill $(cat ${PWD}/${base}_2_2.pid)
@@ -87,7 +87,7 @@ if [ `id -u` -eq 0 ]; then
 	if [ "$pid" = "$(cat ${PWD}/${base}_3_1.pid)" ]; then
 		echo "ok 3 - $name"
 	else
-		echo "not ok 3 - $name"
+		echo "not ok 3 - $name # pgrep output: '$(echo $pid1)', pidfile output: '$(echo $pid2)'"
 	fi
 	rm -f $sleep
 	[ -f ${PWD}/${base}_3_1.pid ] && kill $(cat $PWD/${base}_3_1.pid) 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502120722.t1C7Mlm5013230>