From 5fac0336b94e58377c34cccc38497b0919a2dea3 Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Thu, 15 May 2008 16:39:01 +0000 Subject: [PATCH] Don't run 167 if killall is not installed Test 167 will leave runaway fsstress processes around in case killall is not installed and thus make all following tests fail. This patch checks for killall beeing installed and error out otherwise. Signed-off-by: Christoph Hellwig Merge of master-melb:xfs-cmds:31171a by kenmcd. don't run if killall is not installed. --- 167 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/167 b/167 index be988314..e63b2509 100644 --- a/167 +++ b/167 @@ -13,6 +13,7 @@ owner=dgc@sgi.com seq=`basename $0` echo "QA output created by $seq" +killall="/usr/bin/killall" here=`pwd` tmp=/tmp/$$ rm -f $seq.full @@ -43,6 +44,8 @@ workout() _supported_fs xfs _supported_os Linux +[ -x $killall ] || _notrun "$killall executable not found" + _setup_testdir _require_scratch _scratch_mkfs_xfs >/dev/null 2>&1 -- 2.39.5