From c369d42df84f5bdabcac9041e6c5680a0cbfeaf9 Mon Sep 17 00:00:00 2001 From: bluhm <> Date: Mon, 9 Nov 2020 23:18:51 +0000 Subject: Sync libc syscall tests with changes in upstream NetBSD. Use #ifdef to document differences to NetBSD behaviour, this helps to track upstream. Mark currently failing test as expected failures. So test programs get compiled and executed, but it shows that further investigation is necceassry. --- src/regress/lib/libc/sys/t_msgget.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/regress/lib/libc/sys/t_msgget.c') diff --git a/src/regress/lib/libc/sys/t_msgget.c b/src/regress/lib/libc/sys/t_msgget.c index 2a9bb4cf3b..c5b7d97e15 100644 --- a/src/regress/lib/libc/sys/t_msgget.c +++ b/src/regress/lib/libc/sys/t_msgget.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t_msgget.c,v 1.1.1.1 2019/11/19 19:57:04 bluhm Exp $ */ +/* $OpenBSD: t_msgget.c,v 1.2 2020/11/09 23:18:51 bluhm Exp $ */ /* $NetBSD: t_msgget.c,v 1.3 2017/10/08 08:31:05 kre Exp $ */ /*- @@ -328,10 +328,10 @@ ATF_TP_ADD_TCS(tp) ATF_TP_ADD_TC(tp, msgget_excl); ATF_TP_ADD_TC(tp, msgget_exit); ATF_TP_ADD_TC(tp, msgget_init); - /* - * Adjusted for OpenBSD, not available - * ATF_TP_ADD_TC(tp, msgget_limit); - */ +#ifndef __OpenBSD__ + /* sysctl kern.ipc.msgmni not available */ + ATF_TP_ADD_TC(tp, msgget_limit); +#endif ATF_TP_ADD_TC(tp, msgget_mode); } -- cgit v1.2.3-55-g6feb