From: girish Date: Fri, 3 Jul 2009 05:39:34 +0000 (+0000) Subject: b=18442 X-Git-Tag: v1_8_2_01~1^2~270 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fd7785a1c0002ec6cace52b21d04cb82efa335b0;p=fs%2Flustre-release.git b=18442 i=girish o=rread fix test 200d to check for new output pattern --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 600704d..efe272d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6001,8 +6001,8 @@ run_test 200c "Set pool on a directory =================================" test_200d() { test_pools || return 0 - res=$($GETSTRIPE $POOL_DIR | grep pool: | cut -f8 -d " ") - [ "$res" = $POOL ] || error "Pool on $POOL_DIR is not $POOL" + res=$($GETSTRIPE --pool $POOL_DIR | awk '/^pool:/ {print $2}') + [ "$res" = $POOL ] || error "Pool on $POOL_DIR is $res, not $POOL" } run_test 200d "Check pool on a directory ==============================="