From: grev Date: Wed, 26 Sep 2007 02:00:13 +0000 (+0000) Subject: b=13557 X-Git-Tag: v1_8_0_110~1170 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=7753baadb66049abed97c19b7dd950328a861cea;p=fs%2Flustre-release.git b=13557 i=Adilger set stripecount correctly --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 478f7a6..f73cfac 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2570,15 +2570,14 @@ test_65c() { } run_test 65c "directory setstripe $(($STRIPESIZE * 4)) 1 $(($OSTCOUNT - 1))" -[ $STRIPECOUNT -eq 0 ] && sc=1 || sc=$(($STRIPECOUNT - 1)) - test_65d() { mkdir -p $DIR/d65 + [ $STRIPECOUNT -le 0 ] && sc=1 || sc=$(($STRIPECOUNT - 1)) $SETSTRIPE $DIR/d65 $STRIPESIZE -1 $sc || error "setstripe" touch $DIR/d65/f4 $DIR/d65/f5 $LVERIFY $DIR/d65 $DIR/d65/f4 $DIR/d65/f5 || error "lverify failed" } -run_test 65d "directory setstripe $STRIPESIZE -1 $sc ==============" +run_test 65d "directory setstripe $STRIPESIZE -1 stripe_count ==============" test_65e() { mkdir -p $DIR/d65