Fix VPN internet connectivity and simplify client setup
Initialize Android physical interfaces and preserve macOS scoped routes. Add redacted diagnostics, default DNS, ordered auto-save, simplified controls, scanner rotation settings, and native regression coverage. Restore vendored build sources and document validation and stability checks.
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"io"
|
||||
"net"
|
||||
"net/netip"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -88,8 +89,10 @@ func TestEngineLifecycleAndFailedStartRecovery(t *testing.T) {
|
||||
if engine.Snapshot().State != "Stopped" {
|
||||
t.Fatal("initial state")
|
||||
}
|
||||
if engine.Start(context.Background(), c) == nil {
|
||||
if err := engine.Start(context.Background(), c); err == nil {
|
||||
t.Fatal("started on occupied port")
|
||||
} else if !strings.Contains(err.Error(), "listen_port_in_use") {
|
||||
t.Fatalf("missing safe occupied-port diagnostic: %v", err)
|
||||
}
|
||||
if engine.Snapshot().State != "Failed" {
|
||||
t.Fatal("failed start state")
|
||||
|
||||
Reference in New Issue
Block a user