From: nathan Date: Wed, 11 Nov 2009 21:53:27 +0000 (+0000) Subject: b=21304 X-Git-Tag: v1_8_2_03~1^2~5 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d7830063c839f23420b4db5edd8e65e0f1984020;p=fs%2Flustre-release.git b=21304 i=manoj compare all the uuids in the pool list --- 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 ============================================"