]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: chcon: avoid false failure with newer selinux
authorPádraig Brady <P@draigBrady.com>
Fri, 21 Nov 2014 15:27:41 +0000 (15:27 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 21 Nov 2014 15:30:13 +0000 (15:30 +0000)
commit0e942fdba6c7e6372f778a94dcd64479934166d9
tree38cded4794b312882bbe59956571a07616177bd4
parent222d7ac0c4f5f005438c534f3aba62fd94d96dc2
tests: chcon: avoid false failure with newer selinux

file_t is now mapped to unlabeled_t as per:
http://danwalsh.livejournal.com/68189.html

Therefore use the latter to ensure we match correctly.
This is needed on >= Fedora 21 for example,
while it also works on earlier releases.
tests/misc/chcon.sh