From: Tim Kientzle Date: Thu, 30 Jul 2009 05:46:18 +0000 (-0400) Subject: Use the new assertUmask() wrapper. X-Git-Tag: v2.8.0~482 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15c23c26ed9dd673a42fbd56153e11c9871a2014;p=thirdparty%2Flibarchive.git Use the new assertUmask() wrapper. SVN-Revision: 1301 --- diff --git a/libarchive/test/test_write_disk_failures.c b/libarchive/test/test_write_disk_failures.c index f1cab1689..9c1914b77 100644 --- a/libarchive/test/test_write_disk_failures.c +++ b/libarchive/test/test_write_disk_failures.c @@ -42,7 +42,7 @@ DEFINE_TEST(test_write_disk_failures) int fd; /* Force the umask to something predictable. */ - umask(UMASK); + assertUmask(UMASK); /* A directory that we can't write to. */ assertMakeDir("dir", 0555);