summaryrefslogtreecommitdiff
path: root/tests/ls/capability
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-04-13 12:49:05 +0100
committerPádraig Brady <P@draigBrady.com>2010-04-13 13:09:50 +0100
commit584e38d8b3199924ce24f9fa075d27d0d82a2a8b (patch)
tree218644d5a074554ed256617a5cbd3b8c1854868f /tests/ls/capability
parentc420cfef77b9173a754806dc49deacabb436044f (diff)
downloadcoreutils-584e38d8b3199924ce24f9fa075d27d0d82a2a8b.tar.xz
cp: treat selinux warnings consistently
* src/copy.c (copy_reg): Suppress SELinux ENOTSUP warnings consistently between the destination being present or not. Previously we did not suppress ENOTSUP messages when the destination was present. (copy_internal): Use the same ENOTSUP supression method as copy_reg() even though the issue was not seen in this case. * tests/cp/cp-a-selinux: Add a test case for the issue and group the other test cases in the file more coherently. * tests/cp/cp-mv-enotsup-xattr: Do the same check for xattr warnings, even though they did not have the issue.
Diffstat (limited to 'tests/ls/capability')
0 files changed, 0 insertions, 0 deletions