From 52408e1910e2ba0357f0dedba2d4bc58a901ee85 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Fri, 27 Dec 2024 15:26:14 -0500 Subject: [PATCH] teleport: test with system `curl` on Linux --- Formula/t/teleport.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Formula/t/teleport.rb b/Formula/t/teleport.rb index 1aeb181c3889d..f78cf63bed957 100644 --- a/Formula/t/teleport.rb +++ b/Formula/t/teleport.rb @@ -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" @@ -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"