Skip to content

Commit be9ee14

Browse files
authored
Merge pull request #7938 from sylvestre/no-ctx
cp: context Disable a check in tests/cp/no-ctx.sh
2 parents 3712ece + 19cd210 commit be9ee14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

util/build-gnu.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,8 @@ sed -i 's/\/usr\/bin\/tr/$(which tr)/' tests/init.sh
369369
# upstream doesn't having the program name in the error message
370370
# but we do. We should keep it that way.
371371
sed -i 's/echo "changing security context/echo "chcon: changing security context/' tests/chcon/chcon.sh
372+
373+
# Disable this test, it is not relevant for us:
374+
# * the selinux crate is handling errors
375+
# * the test says "maybe we should not fail when no context available"
376+
sed -i -e "s|returns_ 1||g" tests/cp/no-ctx.sh

0 commit comments

Comments
 (0)