Skip to content

Commit

Permalink
dnf5 has no repo-pkgs command
Browse files Browse the repository at this point in the history
anyway, we don't need this as we expect it show nothing
(we got here because there are no packages in the repo
  • Loading branch information
jpopelka committed May 15, 2024
1 parent e23d490 commit 65fae2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mtps-run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ TESTRUN_ID="$(date +%H%M%S)"
if [ -z "${nevras_in_repo// /}" ]; then
logfname="${LOGS_DIR%%/}/FAIL-${TESTRUN_ID}-${TEST}-mtps-run-tests.log"
echo "Test '$TEST' failed due no packages for testing in repo '$REPONAME:'." | tee -a "$logfname"
echo "Output for: ${YUMDNFCMD} repo-pkgs $REPONAME list --showduplicates" | tee -a "$logfname"
"$YUMDNFCMD" repo-pkgs "$REPONAME" list --showduplicates 2>&1 | tee -a "$logfname"
exit 1
fi

Expand Down

0 comments on commit 65fae2a

Please sign in to comment.