From c4be7bab2f06e0db045f940c51a1ecd632ad4fe8 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Sun, 30 May 2021 18:36:39 +0300 Subject: [PATCH] LU-14725 tests: sanity/27Q to remove own symlink in /tmp otherwise any subsequent restart of MDS/MGS on a local setup with ZFS backend gets stuck as zpool import scans /tmp and stat's every found file. Test-Parameters: trivial Fixes: cd4caef54f ("LU-14583 llapi: handle symlinks in llapi_file_get_stripe()") Signed-off-by: Alex Zhuravlev Change-Id: I2eb4cb8819670acef0302e1fe5ab767be7f46842 Reviewed-on: https://review.whamcloud.com/43875 Tested-by: jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 625bc80..cfe0193 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3321,6 +3321,7 @@ run_test 27P "basic ops on foreign dir of foreign_symlink type" test_27Q() { rm -f $TMP/$tfile $TMP/$tfile.loop $TMP/$tfile.none $TMP/$tfile.broken + stack_trap "rm -f $TMP/$tfile*" test_mkdir $DIR/$tdir-1 test_mkdir $DIR/$tdir-2 -- 1.8.3.1