Files
AetherForge/agent/deploy/autostart_windows_test.go
AetherForge 5fc601b564 feat: fleet ops, KEV scan, tunnels, beacon fallback, persistence
Extend owned-fleet control with scheduled tasks, audit log, file browser,
HTTPS beacon when WS drops, protocol tunnels, registry/autostart forge
options, KEV exposure in full sys check with Telegram alerts, and UI/tests.
2026-06-04 09:34:33 -07:00

20 lines
353 B
Go

//go:build windows
package deploy
import (
"path/filepath"
"strings"
"testing"
)
func TestUserStartupFolderSuffix(t *testing.T) {
dir, err := userStartupFolder()
if err != nil {
t.Skip("APPDATA unset in test environment")
}
if !strings.HasSuffix(filepath.ToSlash(dir), "Programs/Startup") {
t.Fatalf("unexpected startup dir %q", dir)
}
}