tests: improve checks for setuidgid-using root-only tests
authorJim Meyering <meyering@redhat.com>
Thu, 6 Sep 2012 10:00:16 +0000 (12:00 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 7 Sep 2012 09:03:24 +0000 (11:03 +0200)
commit51a4b04954ad5ad12de1d1b82a3603fc350a3bfa
tree075ddcfbd97b30b2d096e67d2c40eb1b4366536c
parent47fd706a7540e7ae3d19c625d90c28b88a8a640c
tests: improve checks for setuidgid-using root-only tests

* init.cfg (setuidgid_has_perm_): New function.
(require_root_): Use it.
Improved-by: Bernhard Voelker
* NEWS (Build-related): Mention the improvement.
NEWS
init.cfg