1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #7898 from sylvestre/selinux-err

selinux: get closer to the GNU error msgs
This commit is contained in:
Daniel Hofstetter 2025-05-09 13:35:29 +02:00 committed by GitHub
commit 7c865b29a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 61 additions and 25 deletions

View file

@ -365,3 +365,7 @@ sed -i 's/not supported/unexpected argument/' tests/mv/mv-exchange.sh
# /nix/store/xxxxxxxxxxxx...xxxx/bin/tr
# We just replace the references to `/usr/bin/tr` with the result of `$(which tr)`
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