Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests: run git daemon on a random-but-bind()able port #5783

Merged
merged 2 commits into from
Oct 22, 2024

Commits on Oct 21, 2024

  1. Integration tests: run git daemon on a random-but-bind()able port

    Use a listener helper to bind to an available-according-to-the-kernel
    listening port and run a command with its stdio more or less tied to the
    connection instead of trying to launch a git daemon directly using a
    port number that we can only guess is available.
    
    Signed-off-by: Nalin Dahyabhai <[email protected]>
    nalind committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    5abf038 View commit details
    Browse the repository at this point in the history
  2. tests/test_runner.sh: remove some redundancies

    This wrapper doesn't need to load anything from helpers.bash, because
    the various .bats files already do so on their own.
    
    Signed-off-by: Nalin Dahyabhai <[email protected]>
    nalind committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    855ec0f View commit details
    Browse the repository at this point in the history