libarchive: backport PR #2386 (fixes output of one test)

MFC after:	6 days
This commit is contained in:
Martin Matuska 2024-10-21 14:35:18 +02:00
parent edc692b905
commit 6c40282284

View File

@ -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);