feat: add interactive Windows installer
This commit is contained in:
@@ -60,6 +60,20 @@ func TestClientDefaultsDecodeForWindowsWithoutNativeFilesystem(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestClientMayDisableObservabilityListener_HP_CFG_10(t *testing.T) {
|
||||
t.Parallel()
|
||||
client, err := DecodeClient([]byte("[client]\nstate_dir = \"C:\\\\ProgramData\\\\RVBox\\\\state\"\ndaemon_cwd = \"C:\\\\Users\\\\Public\"\n\n[observability]\nlisten = \"\"\nlog_file = \"\"\n"), ClientOptions{Platform: PlatformWindows})
|
||||
if err != nil {
|
||||
t.Fatalf("DecodeClient disabled observability: %v", err)
|
||||
}
|
||||
if client.Observability.Listen != "" || client.Observability.LogFile != "" {
|
||||
t.Fatalf("disabled observability = %+v", client.Observability)
|
||||
}
|
||||
if _, err := DecodeServer([]byte("[observability]\nlisten = \"\"\n")); err == nil {
|
||||
t.Fatal("server accepted a disabled observability listener")
|
||||
}
|
||||
}
|
||||
|
||||
func TestStrictTOMLRejections_HP_CFG_01(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user