summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_access.c
diff options
context:
space:
mode:
authorbluhm <>2019-11-22 15:59:53 +0000
committerbluhm <>2019-11-22 15:59:53 +0000
commitb2bdbc04fb540e09593ae35ff3336dc3b378f73a (patch)
tree0b4653232548242b962f182a56d148a1a4d0b669 /src/regress/lib/libc/sys/t_access.c
parent31d2d72847eddaad8498eaa0129b72d27f6f9aee (diff)
downloadopenbsd-b2bdbc04fb540e09593ae35ff3336dc3b378f73a.tar.gz
openbsd-b2bdbc04fb540e09593ae35ff3336dc3b378f73a.tar.bz2
openbsd-b2bdbc04fb540e09593ae35ff3336dc3b378f73a.zip
Sync tests with current NetBSD. Enable t_mkfifo test.
from Moritz Buhl
Diffstat (limited to 'src/regress/lib/libc/sys/t_access.c')
-rw-r--r--src/regress/lib/libc/sys/t_access.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libc/sys/t_access.c b/src/regress/lib/libc/sys/t_access.c
index 33888c7039..ed6410423b 100644
--- a/src/regress/lib/libc/sys/t_access.c
+++ b/src/regress/lib/libc/sys/t_access.c
@@ -1,5 +1,5 @@
1/* $OpenBSD: t_access.c,v 1.1.1.1 2019/11/19 19:57:03 bluhm Exp $ */ 1/* $OpenBSD: t_access.c,v 1.2 2019/11/22 15:59:53 bluhm Exp $ */
2/* $NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $ */ 2/* $NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $ */
3 3
4/*- 4/*-
5 * Copyright (c) 2011 The NetBSD Foundation, Inc. 5 * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
33#include "macros.h" 33#include "macros.h"
34 34
35#include <sys/cdefs.h> 35#include <sys/cdefs.h>
36__RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $"); 36__RCSID("$NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $");
37 37
38#include "atf-c.h" 38#include "atf-c.h"
39 39
@@ -62,7 +62,7 @@ ATF_TC_BODY(access_access, tc)
62 size_t i; 62 size_t i;
63 int fd; 63 int fd;
64 64
65 fd = open(path, O_RDONLY | O_CREAT); 65 fd = open(path, O_RDONLY | O_CREAT, 0600);
66 66
67 if (fd < 0) 67 if (fd < 0)
68 return; 68 return;