Whamcloud - gitweb
b=21304
authornathan <nathan>
Wed, 11 Nov 2009 21:53:27 +0000 (21:53 +0000)
committernathan <nathan>
Wed, 11 Nov 2009 21:53:27 +0000 (21:53 +0000)
i=manoj
compare all the uuids in the pool list

lustre/tests/sanity.sh

index 34593bf..654a530 100644 (file)
@@ -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 ============================================"