From 4191e0cdd0d96b848c1235471179d25d37a889dc Mon Sep 17 00:00:00 2001 From: Patrick Farrell Date: Wed, 17 Apr 2019 12:19:09 -0400 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.8.3.1