From: Emoly Liu Date: Mon, 26 Dec 2016 03:43:42 +0000 (+0800) Subject: LU-8973 tests: in sanity 103a use $tdir instead of $MOUNT X-Git-Tag: 2.9.52~45 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f85224433cadbadbd420b5b35e212d66cde03d37 LU-8973 tests: in sanity 103a use $tdir instead of $MOUNT In sanity.sh test_103a we should use $tdir instead of $MOUNT in case of any unclean testing directory. Test-Parameters: trivial Signed-off-by: Emoly Liu Change-Id: I891bbc0aab28bb58589b66405e0ad5c40fdad25f Reviewed-on: https://review.whamcloud.com/24518 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Bob Glossman Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 17482f5..a9a58a8 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -7284,7 +7284,8 @@ test_103a() { SAVE_UMASK=$(umask) umask 0022 - cd $DIR + mkdir -p $DIR/$tdir + cd $DIR/$tdir echo "performing cp ..." run_acl_subtest cp || error "run_acl_subtest cp failed"