summaryrefslogtreecommitdiff
path: root/tests/e2e/config_hotswap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/config_hotswap_test.go')
-rw-r--r--tests/e2e/config_hotswap_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/config_hotswap_test.go b/tests/e2e/config_hotswap_test.go
index 54155a0..09d9cb1 100644
--- a/tests/e2e/config_hotswap_test.go
+++ b/tests/e2e/config_hotswap_test.go
@@ -39,7 +39,7 @@ Endpoint = 1.1.1.1:51820
}
// Start a process to establish the session
- cmdA := exec.Command(binaryPath, "--profile", profile, "--", "sleep", "1.0")
+ cmdA := exec.Command(binaryPath, "run", "--profile", profile, "--", "sleep", "1.0")
cmdA.Env = append(os.Environ(),
fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir),
fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir),
@@ -68,7 +68,7 @@ Endpoint = 8.8.8.8:51820
// 3. Launch a second process. It should join the existing session
// regardless of the fact that the .conf file has changed.
- cmdB := exec.Command(binaryPath, "--profile", profile, "--", "ls")
+ cmdB := exec.Command(binaryPath, "run", "--profile", profile, "--", "ls")
cmdB.Env = append(os.Environ(),
fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir),
fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir),