From 03466ff710f355af81bd0138b9ae0f77ce594334 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 29 Aug 2009 13:37:21 -0400 Subject: [PATCH] This test requires a certain umask() setting but doesn't actually set it. Since the immediately preceding test does set umask(), this only shows up if you run this test by itself. (Or at least first.) SVN-Revision: 1399 --- libarchive/test/test_write_disk_perms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libarchive/test/test_write_disk_perms.c b/libarchive/test/test_write_disk_perms.c index e898fc40a..054da81a8 100644 --- a/libarchive/test/test_write_disk_perms.c +++ b/libarchive/test/test_write_disk_perms.c @@ -132,6 +132,8 @@ DEFINE_TEST(test_write_disk_perms) struct archive_entry *ae; struct stat st; + umask(UMASK); + /* * Set ownership of the current directory to the group of this * process. Otherwise, the SGID tests below fail if the -- 2.47.3