'unsopassgc' test. Also increase it's file descriptor limit.
-# $OpenBSD: Makefile,v 1.9 2021/12/15 20:56:56 bluhm Exp $
+# $OpenBSD: Makefile,v 1.10 2021/12/15 22:29:55 mvs Exp $
# Copyright (c) 2021 Makkoveev Vitaliy <mvs@openbsd.org>
#
run-regress-undgram_conclose:
ulimit -n 256; ./undgram_conclose
+run-regress-unsopassgc:
+ ulimit -n 256; ./unsopassgc
+
.include <bsd.regress.mk>
-/* $OpenBSD: unsopassgc.c,v 1.2 2021/12/15 21:25:55 bluhm Exp $ */
+/* $OpenBSD: unsopassgc.c,v 1.3 2021/12/15 22:29:55 mvs Exp $ */
/*
* Copyright (c) 2021 Vitaliy Makkoveev <mvs@openbsd.org>
thr_pass_args[i].passfd = thr_pass_args[i].s[0];
}
- thr_gc_arg->passfd = thr_pass_args[i].s[0];
+ thr_gc_arg->passfd = thr_pass_args[0].s[0];
for (i = 0; i < ncpu; ++i) {
error = pthread_create(&thr, NULL,