From: Dave Chinner Date: Thu, 15 May 2008 16:39:01 +0000 (+0000) Subject: Don't run 167 if killall is not installed X-Git-Tag: v1.1.0~378 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5fac0336b94e58377c34cccc38497b0919a2dea3;p=xfstests-dev.git 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. --- 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