From: Patrick Farrell Date: Wed, 17 Apr 2019 16:19:09 +0000 (-0400) Subject: LU-11403 tests: Fix $tfile usage X-Git-Tag: 2.12.54~100 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=4191e0cdd0d96b848c1235471179d25d37a889dc;ds=sidebyside LU-11403 tests: Fix $tfile usage We cannot just use raw $tfile - we must use something under $DIR. This is resulting in failures because $tfile exists. Test-Parameters: trivial Signed-off-by: Patrick Farrell Change-Id: Iea6356cabb1623606bf926ce80c55a3210c0b535 Reviewed-on: https://review.whamcloud.com/34698 Reviewed-by: Andreas Dilger Reviewed-by: Alexander Zarochentsev Reviewed-by: James Nunez Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index e351eee..d78ded2 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6538,7 +6538,7 @@ test_61a() { run_test 61a "mmap() writes don't make sync hang ================" test_61b() { - mmap_mknod_test $tfile || error "mmap_mknod_test failed" + mmap_mknod_test $DIR/$tfile || error "mmap_mknod_test failed" } run_test 61b "mmap() of unstriped file is successful"