Skip to content

Commit

Permalink
Check the new bail-out logic itself
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Dec 17, 2024
1 parent eca9f99 commit cc4a782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function small-repo-in-sandbox() {

function launch-git-daemon() {
local port=9418
if nc -z localhost "$port"; then
echo "Port $port should not have been open before this test's run of the git daemon!" >&2
if true; then
echo "We didn't check $port -- this just tests if we can bail out." >&2
return 1
fi
git -c uploadpack.allowrefinwant daemon --verbose --base-path=. --export-all --user-path &>/dev/null &
Expand Down

0 comments on commit cc4a782

Please sign in to comment.