Whamcloud - gitweb
LU-11403 tests: Fix $tfile usage 14/34914/4
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 17 Apr 2019 16:19:09 +0000 (12:19 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jun 2019 02:34:47 +0000 (02:34 +0000)
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 <pfarrell@whamcloud.com>
Change-Id: Iea6356cabb1623606bf926ce80c55a3210c0b535
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34914
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index f03a9da..06cb18d 100755 (executable)
@@ -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"