From 764d3e67fc783c487f42d398d1b85a5a1f0d8ef0 Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 10:05:38 -0400 Subject: feat: implement rootless network isolation bootstrap and C launcher --- internal/namespace/namespace_test.go | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'internal/namespace/namespace_test.go') diff --git a/internal/namespace/namespace_test.go b/internal/namespace/namespace_test.go index e39710d..10511dd 100644 --- a/internal/namespace/namespace_test.go +++ b/internal/namespace/namespace_test.go @@ -1,4 +1,4 @@ -//go:build linux && integration +//go:build linux package namespace @@ -6,17 +6,8 @@ import ( "testing" ) -func TestNamespaceCreation(t *testing.T) { - // Test that CLONE_NEWUSER and CLONE_NEWNET are called in the correct sequence and a netns is created. - t.Skip("not implemented") -} - -func TestNamespacePinning(t *testing.T) { - // Test that the network namespace is bind-mounted to /run/user/$UID/wg-wrap/ and persists after process exit. - t.Skip("not implemented") -} - -func TestRoutingSetup(t *testing.T) { - // Test that the TUN device is created and the routing table is configured with the correct VPN subnet. - t.Skip("not implemented") +// We move the complex isolation testing to tests/e2e to avoid +// issues with Go's temporary test binaries and process replacement. +func TestNamespacePackage(t *testing.T) { + t.Skip("Namespace isolation tests moved to tests/e2e") } -- cgit v1.2.3