From: Minh Diep Date: Wed, 7 Dec 2011 23:10:56 +0000 (-0800) Subject: LU-841 tests: sanity.sh 27q does not create a testing directory X-Git-Tag: v1_8_7_81_WC1~40 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=218a85228a62a3f2f0359562389fca8d898d20ac;p=fs%2Flustre-release.git LU-841 tests: sanity.sh 27q does not create a testing directory sanity.sh 27q does not create a testing directory which causes ENOENT errors from "ONLY=27q bash sanity.sh" Signed-off-by: Minh Diep Change-Id: Ied574286fe8ee9c1859da05cc7737fb325c5ef28 Reviewed-on: http://review.whamcloud.com/1807 Tested-by: Hudson Reviewed-by: Yu Jian Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Johann Lombardi --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index d9faae2..70fb366 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -1072,6 +1072,7 @@ test_27q() { reset_enospc rm -f $DIR/$tdir/$tfile + mkdir -p $DIR/$tdir $MCREATE $DIR/$tdir/$tfile || error "mcreate $DIR/$tdir/$tfile failed" $TRUNCATE $DIR/$tdir/$tfile 80000000 ||error "truncate $DIR/$tdir/$tfile failed" $CHECKSTAT -s 80000000 $DIR/$tdir/$tfile || error "checkstat failed"