Whamcloud - gitweb
LU-8973 tests: in sanity 103a use $tdir instead of $MOUNT 18/24518/3
authorEmoly Liu <emoly.liu@intel.com>
Mon, 26 Dec 2016 03:43:42 +0000 (11:43 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Jan 2017 05:54:50 +0000 (05:54 +0000)
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 <emoly.liu@intel.com>
Change-Id: I891bbc0aab28bb58589b66405e0ad5c40fdad25f
Reviewed-on: https://review.whamcloud.com/24518
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index 17482f5..a9a58a8 100755 (executable)
@@ -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"