From 082e9835fbd660d7a036c9da1281ff0ec13545a2 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 1 Feb 2024 11:36:05 +0100 Subject: [PATCH] tests: work-around for test failure #1300 --- testing-farm/tests/old-testsuite/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing-farm/tests/old-testsuite/test.sh b/testing-farm/tests/old-testsuite/test.sh index 7093b0ed1..436241a1d 100755 --- a/testing-farm/tests/old-testsuite/test.sh +++ b/testing-farm/tests/old-testsuite/test.sh @@ -5,6 +5,10 @@ workdir=$(mktemp -d --suffix=-mock-old-tests) rsync -rav ../../../ "$workdir" chown -Rv mockbuild:mockbuild "$workdir" +# TODO: Mock should work with 'rw-------' files too. +# https://github.com/rpm-software-management/mock/issues/1300 +chmod a+r "$workdir/mock/integration-tests"/test-* + # Install the tested RPMs install-mock-packages-built-by-packit mock-core-configs mock