Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Feb 1, 2024
1 parent dc9941e commit e58c740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing-farm/tests/old-testsuite/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ install-mock-packages-built-by-packit mock-core-configs mock
# Download the tested SRPM
SRPM_DOWNLOAD_DIR=/tmp/mock-test-srpms install-mock-packages-built-by-packit mock

if (make check > >(tee the-log | grep -e FAILED: -e PASSED:) 2>&1) >&2; then
# Testsuite is prepared for the mockbuild user

cd "$workdir/mock"
if (sudo -E -u mockbuild make check > >(tee the-log | grep -e FAILED: -e PASSED:) 2>&1) >&2; then

Check warning

Code scanning / shellcheck

sudo doesn't affect redirects. Use ..| sudo tee file Warning test

sudo doesn't affect redirects. Use ..| sudo tee file
echo "The 'make check' testsuite passed."
else
cat the-log
Expand Down

0 comments on commit e58c740

Please sign in to comment.