git: 6c40282284d6 - main - libarchive: backport PR #2386 (fixes output of one test)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 12:37:20 UTC
The branch main has been updated by mm:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c40282284d6eab20256914648cdec39acb2c52a
commit 6c40282284d6eab20256914648cdec39acb2c52a
Author: Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2024-10-21 12:35:18 +0000
Commit: Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-10-21 12:37:09 +0000
libarchive: backport PR #2386 (fixes output of one test)
MFC after: 6 days
---
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);