mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 13:35:00 +00:00
cp: context Disable a check in tests/cp/no-ctx.sh
It is not relevant for us: * the selinux crate is handling errors * the test says "maybe we should not fail when no context available"
This commit is contained in:
parent
c76c0ad2dd
commit
19cd210ac3
1 changed files with 5 additions and 0 deletions
|
@ -369,3 +369,8 @@ sed -i 's/\/usr\/bin\/tr/$(which tr)/' tests/init.sh
|
|||
# upstream doesn't having the program name in the error message
|
||||
# but we do. We should keep it that way.
|
||||
sed -i 's/echo "changing security context/echo "chcon: changing security context/' tests/chcon/chcon.sh
|
||||
|
||||
# Disable this test, it is not relevant for us:
|
||||
# * the selinux crate is handling errors
|
||||
# * the test says "maybe we should not fail when no context available"
|
||||
sed -i -e "s|returns_ 1||g" tests/cp/no-ctx.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue