From: Elena Gryaznova Date: Tue, 3 Feb 2015 00:10:14 +0000 (+0400) Subject: LU-6125 test: sanity test_27i defect: missing test_mkdir() X-Git-Tag: 2.6.94~8 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7b241f0d9e823bbd63663c53d1cfc59dffbb91b6 LU-6125 test: sanity test_27i defect: missing test_mkdir() Fix sanity test_27i() to call test_mkdir() Signed-off-by: Elena Gryaznova Xyratex-bug-id: MRP-1194 Reviewed-by: Alexander Zarochentsev Change-Id: I093cb44590b98857189d69d1b8f6e9e9c423d3bc Reviewed-on: http://review.whamcloud.com/13407 Tested-by: Jenkins Reviewed-by: James Nunez Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 6668329..18fb399 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -1397,8 +1397,10 @@ test_27g() { run_test 27g "$GETSTRIPE with no objects" test_27i() { - touch $DIR/d27/fsome || error "touch failed" - [[ $($GETSTRIPE -c $DIR/d27/fsome) -gt 0 ]] || error "missing objects" + test_mkdir $DIR/$tdir + touch $DIR/$tdir/$tfile || error "touch failed" + [[ $($GETSTRIPE -c $DIR/$tdir/$tfile) -gt 0 ]] || + error "missing objects" } run_test 27i "$GETSTRIPE with some objects"