Skip to content

Commit

Permalink
Merge pull request #202589 from Homebrew/teleport-linux-deps
Browse files Browse the repository at this point in the history
teleport: test with system `curl` on Linux
  • Loading branch information
chenrui333 authored Dec 27, 2024
2 parents d21a449 + 52408e1 commit c29a668
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Formula/t/teleport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class Teleport < Formula
depends_on "node"
depends_on "openssl@3"

uses_from_macos "curl" => :test
uses_from_macos "netcat" => :test
uses_from_macos "zip"

conflicts_with "etsh", because: "both install `tsh` binaries"
Expand Down Expand Up @@ -75,10 +73,7 @@ def install
severity: WARN
YAML

fork do
exec "#{bin}/teleport start --roles=proxy,node,auth --config=#{testpath}/config.yml"
end

spawn bin/"teleport", "start", "--roles=proxy,node,auth", "--config=#{testpath}/config.yml"
sleep 10
system "curl", "--insecure", "https://localhost:3080"

Expand Down

0 comments on commit c29a668

Please sign in to comment.