Skip to content

Commit 19cd210

Browse files
committed
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"
1 parent c76c0ad commit 19cd210

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)