Skip to content

Commit

Permalink
tests: redirect stdout in one call in test_extract_tar_absolute_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatuska committed Oct 21, 2024
1 parent 40ff837 commit e7d0e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tar/test/test_option_P.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e7d0e8b

Please sign in to comment.