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

(cherry picked from commit 6c40282284)
This commit is contained in:
Martin Matuska 2024-10-21 14:35:18 +02:00
parent 2ae238160f
commit b21c677ed2

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