From fb242c1090e7c10be9b1ba450a8698758cc5f54a Mon Sep 17 00:00:00 2001 From: "robert.read" Date: Wed, 1 Jul 2009 23:16:58 +0000 Subject: [PATCH] Branch HEAD b=18442 Fix test breakage caused by whitespace changes made by 18442. --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ===============================" -- 1.8.3.1