diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-10 16:55:20 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-10 17:05:37 +0100 |
commit | 88eb88ee23ed05c08103225e41c180caeccb6918 (patch) | |
tree | dc976cb37a07fda12b394e2bacf2b28ee9c5d5aa /tests/ls | |
parent | 934940b561fbf6d1adff862c6294968fc7e55e8c (diff) | |
download | coreutils-88eb88ee23ed05c08103225e41c180caeccb6918.tar.xz |
tests: avoid false failure when restorecon is ineffective
* tests/cp/cp-a-selinux.sh: Ensure we skip the portion of the test
depending on restorecon to be effective. I.E. also skip when restorecon
warns, as it doesn't exit with error status when matchpathcon fails to
find a match for a file. This is the case in /tmp on Fedora for
example, in which case the new destination that cp creates will have the
default security context of the process, rather than the explicit
context we set on the source file.
Details at: http://bugzilla.redhat.com/1247641
Diffstat (limited to 'tests/ls')
0 files changed, 0 insertions, 0 deletions