1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Merge pull request #7938 from sylvestre/no-ctx

cp: context Disable a check in tests/cp/no-ctx.sh
This commit is contained in:
Daniel Hofstetter 2025-05-19 16:19:51 +02:00 committed by GitHub
commit be9ee14aab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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