From b2bdbc04fb540e09593ae35ff3336dc3b378f73a Mon Sep 17 00:00:00 2001 From: bluhm <> Date: Fri, 22 Nov 2019 15:59:53 +0000 Subject: Sync tests with current NetBSD. Enable t_mkfifo test. from Moritz Buhl --- src/regress/lib/libc/sys/t_access.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/regress/lib/libc/sys/t_access.c') 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 @@ -/* $OpenBSD: t_access.c,v 1.1.1.1 2019/11/19 19:57:03 bluhm Exp $ */ -/* $NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $ */ +/* $OpenBSD: t_access.c,v 1.2 2019/11/22 15:59:53 bluhm Exp $ */ +/* $NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -33,7 +33,7 @@ #include "macros.h" #include -__RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $"); +__RCSID("$NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $"); #include "atf-c.h" @@ -62,7 +62,7 @@ ATF_TC_BODY(access_access, tc) size_t i; int fd; - fd = open(path, O_RDONLY | O_CREAT); + fd = open(path, O_RDONLY | O_CREAT, 0600); if (fd < 0) return; -- cgit v1.2.3-55-g6feb