On Sun, Feb 19, 2017 at 07:25:25AM +0100, Sebastien Marie wrote: > Hi, > > The regress/sys/kern/pledge/generic test is disabled and currently > failing mostly due to the fact that wlpaths is disabled in GENERIC > kernel. > > So remove (or disable exactly) parts related to wlpaths in "generic" > test suite also. > > It also remove test_mmap() function which tested prot_exec promise. Due > to kern.wxabort, it is a more complex thing to test now (requires a > wxallow partition).
I committed your changes and re-enabled the generic test. > I also have some additionnal tests outside "generic" that I will polish > a bit and propose to addition. > > The "generic" test suite was testing lot of things, but it isn't very > practical for rerun only individual tests. Futher tests additions should > occurs as individual tests (as "regress/sys/kern/pledge/ioctl"). I will > also try to rewrite tests in generic as individual tests. Both these sound great, thank you very much!
