Skip to content

Commit

Permalink
teleport: test with system curl on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Dec 27, 2024
1 parent 4bcc5a7 commit 52408e1
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 52408e1

Please sign in to comment.