git: b21c677ed28a - stable/14 - libarchive: backport PR #2386 (fixes output of one test)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Oct 2024 09:35:35 UTC
The branch stable/14 has been updated by mm:
URL: https://cgit.FreeBSD.org/src/commit/?id=b21c677ed28a8e4c0be2fb0e114ea902fa3271c2
commit b21c677ed28a8e4c0be2fb0e114ea902fa3271c2
Author: Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2024-10-21 12:35:18 +0000
Commit: Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-10-27 08:45:56 +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);