Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2024 10:51:52 GMT
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 120e685333d8 - stable/13 - libarchive: backport PR #2386 (fixes output of one test)
Message-ID:  <202410271051.49RApqAI002317@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mm:

URL: https://cgit.FreeBSD.org/src/commit/?id=120e685333d806d184bb2c7b33420c5fed6cd13e

commit 120e685333d806d184bb2c7b33420c5fed6cd13e
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2024-10-21 12:35:18 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-10-27 09:43:16 +0000

    libarchive: backport PR #2386 (fixes output of one test)
    
    (cherry picked from commit 6c40282284d6eab20256914648cdec39acb2c52a)
---
 contrib/libarchive/tar/test/test_option_P.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/libarchive/tar/test/test_option_P.c b/contrib/libarchive/tar/test/test_option_P.c
index e63da3e0875c..953d9f58991c 100644
--- a/contrib/libarchive/tar/test/test_option_P.c
+++ b/contrib/libarchive/tar/test/test_option_P.c
@@ -55,7 +55,7 @@ DEFINE_TEST(test_extract_tar_absolute_paths)
 	UNLINK(temp_absolute_file_name);
 
 	// Extracting the archive without -P / --absolute-paths should strip leading drive letter or slash
-	r = systemf("%s -xf test.tar", testprog);
+	r = systemf("%s -xf test.tar 2>test.err", testprog);
 	assertEqualInt(r, 0);
 	assertFileNotExists(temp_absolute_file_name);
 



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