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.3-RC1~199 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5866a8975fe95cbd07b370ee4cf838ba223c13da;p=fs%2Flustre-release.git 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 Lustre-change: https://review.whamcloud.com/34698 Lustre-commit: 4191e0cdd0d96b848c1235471179d25d37a889dc Fixes: a8f4d1e5fd79 ("LU-11403 llite: ll_fault fixes") Signed-off-by: Patrick Farrell Change-Id: Iea6356cabb1623606bf926ce80c55a3210c0b535 Reviewed-by: Andreas Dilger Reviewed-by: Alexander Zarochentsev Reviewed-by: James Nunez Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/34914 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index f03a9da..06cb18d 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6401,7 +6401,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"