From 29918b2db487e7ec8b0bdf785b0a436332824db6 Mon Sep 17 00:00:00 2001 From: Chris Horn Date: Fri, 22 Oct 2021 01:34:23 +0000 Subject: [PATCH] LU-15150 tests: sanity-lnet removes testsuite log on failure cleanup_testsuite() needs to be more selective when removing files created by sub-tests. Test-Parameters: trivial testlist=sanity-lnet Fixes: aa739144551 ("LU-13569 tests: Check LNet Health recovery logic") Signed-off-by: Chris Horn Change-Id: Ic17a68ff2aa552594a0f1ea470c39177abe985fc Reviewed-on: https://review.whamcloud.com/45342 Reviewed-by: Serguei Smirnov Tested-by: Maloo Tested-by: jenkins Reviewed-by: Andreas Dilger --- lustre/tests/sanity-lnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity-lnet.sh b/lustre/tests/sanity-lnet.sh index 30e9e1a..a11e680 100755 --- a/lustre/tests/sanity-lnet.sh +++ b/lustre/tests/sanity-lnet.sh @@ -56,7 +56,7 @@ fi cleanup_testsuite() { trap "" EXIT # Cleanup any tmp files created by the sub tests - rm -f $TMP/sanity-lnet* + rm -f $TMP/sanity-lnet-*.yaml $LNET_PARAMS_FILE cleanup_netns cleanup_lnet if $restore_mounts; then -- 1.8.3.1