package cli import ( "testing" ) // The osdetect parsing/detection logic is tested in // internal/osdetect/osdetect_test.go. These tests verify the cli // wrapper delegates correctly. func TestDetectOS_DelegatesToPackage(t *testing.T) { // On this host (Ubuntu), detectOS should return "ubuntu" via the // osdetect package. If /etc/os-release is absent (e.g., in a // minimal container), it returns "linux". result := detectOS() if result == "" { t.Error("detectOS returned empty string, expected a non-empty OS ID") } }