svn commit: r313382 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys
Ngie Cooper
ngie at FreeBSD.org
Tue Feb 7 06:34:04 UTC 2017
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,
More information about the svn-src-projects
mailing list