From 13c0f4ad3f5251332b6e571d7294d4690493b4f4 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 14 Feb 2017 17:05:02 +1100 Subject: [PATCH] qa: remove some dup code in test 1121 --- qa/1121 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/qa/1121 b/qa/1121 index 2c8e29841..3bc9ee21d 100755 --- a/qa/1121 +++ b/qa/1121 @@ -13,7 +13,7 @@ echo "QA output created by $seq" . ./common.filter . ./common.check -# test for-some-thing || _notrun No support for some-thing +[ $PCP_PLATFORM = linux ] || _notrun "Linux-specific scsi tape statistics" _cleanup() { @@ -27,12 +27,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here -[ $PCP_PLATFORM = linux ] || _notrun "Linux-specific scsi tape statistics" - -status=1 # failure is the default! -$sudo rm -rf $tmp $tmp.* $seq.full -trap "cd $here; $sudo rm -rf $tmp $tmp.*; exit \$status" 0 1 2 3 15 - root=$tmp.root export LINUX_STATSPATH=$root pmda=$PCP_PMDAS_DIR/linux/pmda_linux.so,linux_init -- 2.11.4.GIT