Signed-off-by: Peter Hutterer <[email protected]>
---
test/path.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/path.c b/test/path.c
index 7d7c445..729ad86 100644
--- a/test/path.c
+++ b/test/path.c
@@ -28,6 +28,7 @@
#include <fcntl.h>
#include <libinput.h>
#include <stdio.h>
+#include <sys/stat.h>
#include <unistd.h>
#include "litest.h"
@@ -131,6 +132,7 @@ START_TEST(path_create_invalid_file)
char path[] = "/tmp/litest_path_XXXXXX";
int fd;
+ umask(002);
fd = mkstemp(path);
ck_assert_int_ge(fd, 0);
close(fd);
--
2.5.5
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel