Skip to content

Commit

Permalink
Merge pull request #1305 from rvykydal/update-proxy-repoquery-check
Browse files Browse the repository at this point in the history
Update proxy check for repoquery (gh1304)
  • Loading branch information
rvykydal committed Sep 17, 2024
2 parents b75de4b + fbe0d37 commit 01c96bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion proxy-auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ validate() {
fi

# Finally, check that the repoquery used the proxy
tail -1 $tmpdir/proxy/access.log | grep -q repodata
grep -q 'repodata/repomd.xml' $tmpdir/proxy/access.log
if [[ $? -ne 0 ]]; then
echo 'repoquery on installed system was not proxied' >> $tmpdir/RESULT
fi
Expand Down
2 changes: 1 addition & 1 deletion proxy-kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ validate() {
fi

# Finally, check that the repoquery used the proxy
tail -1 $tmpdir/proxy/access.log | grep -q repodata
grep -q 'repodata/repomd.xml' $tmpdir/proxy/access.log
if [[ $? -ne 0 ]]; then
echo 'repoquery on installed system was not proxied' >> $tmpdir/RESULT
fi
Expand Down

0 comments on commit 01c96bd

Please sign in to comment.