summaryrefslogtreecommitdiff
path: root/tests/test_umask.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_umask.c')
-rw-r--r--tests/test_umask.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_umask.c b/tests/test_umask.c
new file mode 100644
index 0000000..075782f
--- /dev/null
+++ b/tests/test_umask.c
@@ -0,0 +1,10 @@
1#include "common.h"
2
3#include <sys/stat.h>
4
5int main(int argc, char** argv) {
6#if !defined(__clang__)
7 umask(0666);
8#endif
9 return ret;
10}