Where to put test cases for stuff in /etc?

Garrett Cooper yaneurabeya at gmail.com
Thu Mar 13 20:40:08 UTC 2014


> On Mar 13, 2014, at 13:23, asomers at gmail.com wrote:
> 
> I occasionally make changes to /etc/rc.subr and /etc/rc.d/*.  Where
> can I write ATF test cases for those files?  Should I create
> etc/tests/rc.subr_test.sh and etc/rc.d/tests/routing_test.sh ?

    Putting it under tests/etc would be a better idea for now. The build system under etc/ is a bit of a mess...
Thanks!
-Garrett


More information about the freebsd-testing mailing list