[Apparmor-dev] [rfr] Unit testing infrastructure for utils/ using
Test::Harness module
Mathias Gug
mathiaz at ubuntu.com
Mon Jul 9 05:43:22 MDT 2007
Hi,
I've attached a patch that adds a test target in the Makefile so that
unit tests can be implemented.
The unit tests are located under the t/ sub-directory. I've added a
small test for the getprofilefilename function.
I also had to create a subdirectory Immunix/ with a link to SubDomain.pm
so that the perl unit tests use the correct SubDomain module (ie the one
in the source tree and not the one installed on the system).
For now there isn't a lot of tests, but the infrastructure is there.
Let me know what you think about it.
--
Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-add-unit-test.diff
Type: text/x-diff
Size: 1404 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070709/42a8788b/apparmor-add-unit-test.bin
More information about the Apparmor-dev
mailing list