From: robert.read Date: Wed, 1 Jul 2009 23:16:58 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_220~65 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=fb242c1090e7c10be9b1ba450a8698758cc5f54a;ds=sidebyside Branch HEAD b=18442 Fix test breakage caused by whitespace changes made by 18442. --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a482ad5..64d07a4 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6433,8 +6433,8 @@ run_test 200c "Set pool on a directory =================================" test_200d() { remote_mgs_nodsh && skip "remote MGS with nodsh" && return - 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 ==============================="