Add #else case in run(..) to fix test on non-{amd64,arm64,mips} after

recent refactoring to the test
This commit is contained in:
Enji Cooper 2017-02-07 06:34:02 +00:00
parent a678f77962
commit 62d02a8f74

View file

@ -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,