Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2025 19:33:42 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 874eaa3821dd - main - tests/newsyslog: cleanup after tests_normal_rotate_recompress test
Message-ID:  <202509231933.58NJXgwL058584@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=874eaa3821dd678ca27706af3f023844e3094b2e

commit 874eaa3821dd678ca27706af3f023844e3094b2e
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-09-23 09:21:02 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-09-23 19:32:26 +0000

    tests/newsyslog: cleanup after tests_normal_rotate_recompress test
    
    The garbage left would prevent subsequent tests to succeed.  Note that
    currently this is the last test to execute.
---
 usr.sbin/newsyslog/tests/legacy_test.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/newsyslog/tests/legacy_test.sh b/usr.sbin/newsyslog/tests/legacy_test.sh
index 5aecdeacd10a..1ec48d5a0cc7 100644
--- a/usr.sbin/newsyslog/tests/legacy_test.sh
+++ b/usr.sbin/newsyslog/tests/legacy_test.sh
@@ -522,6 +522,8 @@ tests_normal_rotate_recompress() {
 	ckfe ${LOGFNAME}.0${ext}
 	ckfe ${LOGFNAME}.1${ext}
 	end
+
+	tmpdir_clean
 }
 
 echo 1..185



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509231933.58NJXgwL058584>