diff options
author | Mark Johnston <markj@FreeBSD.org> | 2023-03-10 22:07:06 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2023-03-10 22:07:06 +0000 |
commit | e1ccf64b884a1a47c48a2fb7d71e7eb18347c6d6 (patch) | |
tree | fcafe4f93c3dd9d78ede65daa38af568d7adb71c | |
parent | 478de7f8e25849ce0b3a37b4baaf9c69e0b34072 (diff) | |
download | src-e1ccf64b884a1a47c48a2fb7d71e7eb18347c6d6.tar.gz src-e1ccf64b884a1a47c48a2fb7d71e7eb18347c6d6.zip |
netbsd-tests: Serialize message queue tests
They can fail when run in parallel since they all share a global queue
key.
MFC after: 1 week
-rw-r--r-- | lib/libc/tests/sys/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/tests/sys/Makefile b/lib/libc/tests/sys/Makefile index e4a1bf30a8f9..188196911666 100644 --- a/lib/libc/tests/sys/Makefile +++ b/lib/libc/tests/sys/Makefile @@ -74,6 +74,13 @@ NETBSD_ATF_TESTS_C+= write_test LIBADD.getpid_test+= pthread LIBADD.timer_create_test+= rt +# Message queue IPC tests need to be executed serially since they variously +# use global keys and exhaust global IPC limits. +TEST_METADATA.msgctl_test+= is_exclusive="true" +TEST_METADATA.msgget_test+= is_exclusive="true" +TEST_METADATA.msgsnd_test+= is_exclusive="true" +TEST_METADATA.msgrcv_test+= is_exclusive="true" + .include "../Makefile.netbsd-tests" SRCS.mlock_test+= mlock_helper.c |