summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-02-12 07:22:46 +0000
committerngie <ngie@FreeBSD.org>2015-02-12 07:22:46 +0000
commit05431ee9d34a7cb642760e4c287d006fdf65e8ab (patch)
tree8342e8f3c4799762900da4eab813d410d0faf33a /bin
parentadc74e8335e897f6af1c55f35bab17b1812210a8 (diff)
downloadFreeBSD-src-05431ee9d34a7cb642760e4c287d006fdf65e8ab.zip
FreeBSD-src-05431ee9d34a7cb642760e4c287d006fdf65e8ab.tar.gz
Add debugging output to help track down the recent Jenkins failures
Diffstat (limited to 'bin')
-rw-r--r--bin/pkill/tests/pgrep-j_test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pkill/tests/pgrep-j_test.sh b/bin/pkill/tests/pgrep-j_test.sh
index 6acfb4b..f61e174 100644
--- a/bin/pkill/tests/pgrep-j_test.sh
+++ b/bin/pkill/tests/pgrep-j_test.sh
@@ -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)
OpenPOWER on IntegriCloud