Files
AetherForge/server/internal/cloudflared/launcher_windows_test.go
AetherForge 415b5dc6a3
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Release validation: tests green, USB pack, fleet UX and API hardening.
Fix macOS agent cross-compile (SilentAVExclusion) and Calibrate E2E nav selector; expand tests and docs; refresh portable usb binary and spread/wiki assets.
2026-06-06 16:57:39 -07:00

18 lines
320 B
Go

//go:build windows
package cloudflared
import "testing"
func TestStartEmptyTokenIsNoOp(t *testing.T) {
for _, token := range []string{"", " ", "\t", `""`, "''"} {
if err := Start("", "", token); err != nil {
t.Fatalf("Start(%q): %v", token, err)
}
}
}
func TestStopWhenNotRunning(t *testing.T) {
Stop()
}