diff options
| author | bluhm <> | 2019-11-22 15:59:53 +0000 |
|---|---|---|
| committer | bluhm <> | 2019-11-22 15:59:53 +0000 |
| commit | d669dd49d65471c09a4211ff686aeda0d2bb7abf (patch) | |
| tree | 0b4653232548242b962f182a56d148a1a4d0b669 /src/regress/lib/libc/sys/t_access.c | |
| parent | 2f2e1cc632ae0ff73e57a6736cc33593c6a0adfc (diff) | |
| download | openbsd-d669dd49d65471c09a4211ff686aeda0d2bb7abf.tar.gz openbsd-d669dd49d65471c09a4211ff686aeda0d2bb7abf.tar.bz2 openbsd-d669dd49d65471c09a4211ff686aeda0d2bb7abf.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.c | 8 |
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; |
