From f85224433cadbadbd420b5b35e212d66cde03d37 Mon Sep 17 00:00:00 2001 From: Emoly Liu Date: Mon, 26 Dec 2016 11:43:42 +0800 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 1.8.3.1