diff options
| author | James O'Doherty <james@theodohertyfamily.com> | 2026-05-22 16:17:55 -0400 |
|---|---|---|
| committer | James O'Doherty <james@theodohertyfamily.com> | 2026-05-22 16:17:55 -0400 |
| commit | 135f6edbd9389bc4783f13c26aed0a74d3c8aca0 (patch) | |
| tree | 41a8e80b0dcf2c42b045bc91d9101deceb049f47 /internal/cli/cli_test.go | |
| parent | 2e3a1d07b43e6e942e51ba263c6fcdc2351afc0d (diff) | |
refactor: unify path management and complete profile management system
- Create internal/paths package for unified config and runtime directory resolution
- Implement robust WireGuard config parsing in pkg/wgconf
- Implement profile management subcommands: list, import, configure, delete, stop
- Fix namespace pinning path collisions (separating .ns files from pids directories)
- Implement and verify namespace unpinning logic
- Fix linting errors and improve error handling across the project
Diffstat (limited to 'internal/cli/cli_test.go')
| -rw-r--r-- | internal/cli/cli_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index 0274fbc..a0d6263 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -1,8 +1,8 @@ package cli import ( - "testing" "strings" + "testing" ) func TestAppRun_ProfileDirInjection(t *testing.T) { @@ -25,7 +25,7 @@ func TestAppRun_ProfileDirInjection(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { app := NewApp(tt.args) - app.ConfigDir = tmpDir // Inject temporary directory + app.ConfigDir = tmpDir // Inject temporary directory app.RuntimeBaseDir = tmpDir // Inject temporary directory for PID tracking err := app.Run() |
