]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r293246,r293257:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Jan 2016 20:09:51 +0000 (20:09 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Jan 2016 20:09:51 +0000 (20:09 +0000)
commit62d265c05bd60b483edfc71fdb0effb32e9b4f33
tree5955f1c5c5311420b89e8a7a21f2e4e98095c019
parent2eefbb5ed04de381ec17e79f86589b7b525d0cbe
MFstable/10 r293246,r293257:

r293246:

MFC r292530,r292546:

r292530:

- Use 1 for an exit code instead of -1 with err, errx, and exit
- Add unistd.h for getuid(3)
- Sort #includes

r292546:

- Convert testcase to TAP format
- Use nitems(x) instead of handrolled sizeof(x) / sizeof(*x) macro
- Do not mark count != 0 case with bsde_get_rule_count as a failure; this
  generates false positives on systems with ugidfw rules set on it

r293257:

MFC r292650,r292651:

r292650:

Move mac_bsdextended check up before running the test_libugidfw_strings testcases

I realize that these tests could be run before mac_bsdextended is loaded, but
it would overcomplicate things to special case handle the testcases before doing
the mac_bsdextended(4) feature check

The testcases will be split up so they can be run separately in the near future

r292651:

Delete the comment about running `test_libugidfw_strings` before testing
`mac_is_present` so it doesn't accidentally confuse people

git-svn-id: svn://svn.freebsd.org/base/stable/9@293260 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/mac/mac_bsdextended/test_ugidfw.c