Date: Tue, 7 Feb 2017 06:34:03 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r313382 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys Message-ID: <201702070634.v176Y3Ek012976@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Tue Feb 7 06:34:02 2017 New Revision: 313382 URL: https://svnweb.freebsd.org/changeset/base/313382 Log: Add #else case in run(..) to fix test on non-{amd64,arm64,mips} after recent refactoring to the test Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c ============================================================================== --- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c Tue Feb 7 06:04:13 2017 (r313381) +++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c Tue Feb 7 06:34:02 2017 (r313382) @@ -133,6 +133,9 @@ ATF_TC_BODY(setcontext_link, tc) /* FreeBSD/mips only permits up to 6 arguments. */ makecontext(&uc[i], (void *)run, 6, i, 0, 1, 2, 3, 4); +#else + makecontext(&uc[i], (void *)run, 10, i, + 0, 1, 2, 3, 4, 5, 6, 7, 8); #endif #else makecontext(&uc[i], (void *)run, 10, i,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702070634.v176Y3Ek012976>