From 0da0b6de70d545da2b836f85c7a5f1fefb7d4000 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Sat, 29 Aug 2009 11:28:40 +0000 Subject: [PATCH] Branch b1_8 b=19205 i=adilger, nathan Rename the sanity tests 200z[a-c] to 201[a-c]. --- lustre/tests/sanity.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index b789774..0754d7d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6119,15 +6119,15 @@ test_200g() { } run_test 200g "lfs df a pool ============================================" -test_200za() { # was 200g +test_201a() { # was 200g test_pools || return 0 TGT=$($LCTL get_param -n lov.$FSNAME-*.pools.$POOL | head -1) do_facet mgs $LCTL pool_remove $FSNAME.$POOL $TGT wait_update $HOSTNAME "lctl get_param -n lov.$FSNAME-*.pools.$POOL | grep $TGT" "" || error "$TGT not removed from $FSNAME.$POOL" } -run_test 200za "Remove a target from a pool =============================" +run_test 201a "Remove a target from a pool =============================" -test_200zb() { # was 200h +test_201b() { # was 200h test_pools || return 0 for TGT in $($LCTL get_param -n lov.$FSNAME-*.pools.$POOL | sort -u) do @@ -6139,16 +6139,16 @@ test_200zb() { # was 200h $SETSTRIPE -p $POOL ${POOL_FILE}/$tfile || \ error "failed to create file with empty pool" } -run_test 200zb "Remove all targets from a pool ==========================" +run_test 201b "Remove all targets from a pool ==========================" -test_200zc() { # was 200i +test_201c() { # was 200i test_pools || return 0 do_facet mgs $LCTL pool_destroy $FSNAME.$POOL # get param should return err once pool is gone wait_update $HOSTNAME "lctl get_param -n lov.$FSNAME-*.pools.$POOL 2>/dev/null || echo foo" "foo" && return 0 error "Pool $FSNAME.$POOL is not destroyed" } -run_test 200zc "Remove a pool ============================================" +run_test 201c "Remove a pool ============================================" # # tests that do cleanup/setup should be run at the end -- 1.8.3.1