]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Set umask before testing `--exclude-vcs`. (#2082)
authorDag-Erling Smørgrav <des@des.no>
Sat, 23 Mar 2024 00:36:10 +0000 (01:36 +0100)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2024 00:36:10 +0000 (17:36 -0700)
tar/test/test_option_exclude_vcs.c

index 1bd15c3d73612b6c1176e724d5e98871750b01d8..ec4dc5594f5cc7879838c4f582e1680cb737eb1f 100644 (file)
@@ -26,6 +26,7 @@
 
 DEFINE_TEST(test_option_exclude_vcs)
 {
+       assertUmask(0);
        assertMakeDir("in", 0755);
        assertChdir("in");
        assertMakeFile("file", 0644, "");