Whamcloud - gitweb
LU-841 tests: sanity.sh 27q does not create a testing directory
[fs/lustre-release.git] / lustre / tests / sanity.sh
index e6453e5..e992507 100644 (file)
@@ -1139,6 +1139,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"