diff options
| author | James O'Doherty <james@theodohertyfamily.com> | 2026-05-22 10:05:38 -0400 |
|---|---|---|
| committer | James O'Doherty <james@theodohertyfamily.com> | 2026-05-22 10:05:38 -0400 |
| commit | 764d3e67fc783c487f42d398d1b85a5a1f0d8ef0 (patch) | |
| tree | 5eed72f4e2371efe4d341fe61ce8bcf7717ac780 /internal/namespace/namespace_test.go | |
| parent | a78401b6b5023c3c924c0884b222c329975b3ad6 (diff) | |
feat: implement rootless network isolation bootstrap and C launcher
Diffstat (limited to 'internal/namespace/namespace_test.go')
| -rw-r--r-- | internal/namespace/namespace_test.go | 19 |
1 files changed, 5 insertions, 14 deletions
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") } |
