From d7830063c839f23420b4db5edd8e65e0f1984020 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 11 Nov 2009 21:53:27 +0000 Subject: [PATCH] b=21304 i=manoj compare all the uuids in the pool list --- lustre/tests/sanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 34593bf0..654a530 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6360,9 +6360,9 @@ run_test 200f "Create files in a pool ===================================" test_200g() { test_pools || return 0 - TGT=$($LCTL get_param -n lov.$FSNAME-*.pools.$POOL | head -1) - res=$($LFS df --pool $FSNAME.$POOL | awk '{print $1}' | grep "$FSNAME-OST") - [ "$res" = "$TGT" ] || error "Pools OSTS '$TGT' is not '$res' that lfs df reports" + TGT=$($LCTL get_param -n lov.$FSNAME-clilov-*.pools.$POOL | tr '\n' ' ') + res=$($LFS df --pool $FSNAME.$POOL | awk '{print $1}' | grep "$FSNAME-OST" | tr '\n' ' ') + [ "$res" = "$TGT" ] || error "Pools OSTs '$TGT' is not '$res' that lfs df reports" } run_test 200g "lfs df a pool ============================================" -- 1.8.3.1