Avoid root-only SELinux-related test failures w/o mcstransd.
authorJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 14:34:08 +0000 (16:34 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 14:34:08 +0000 (16:34 +0200)
commit6e177448b9e204d384b8e12a38b386f3c53aa33e
tree26921742a49514d04b41998e8dc3308631c001d5
parent504fa74e243cd258b649b3a436cf14b6d91faf91
Avoid root-only SELinux-related test failures w/o mcstransd.

When mcstransd is not running (i.e., after service mcstrans stop),
"make check" as root would provoke two test failures.
* tests/cp/cp-a-selinux: Use the context, root:object_r:tmp_t:s0,
that works both with and without mcstransd.
Thanks to Eric Paris for the tip and to Ondřej Vašík for alerting
me to the problem.
Reported by Robert Scheck in <http://bugzilla.redhat.com/436717>.
tests/cp/cp-a-selinux
tests/misc/chcon