diff options
Diffstat (limited to 'tests/e2e/network_change_test.go')
| -rw-r--r-- | tests/e2e/network_change_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/network_change_test.go b/tests/e2e/network_change_test.go index f1ca215..98614b7 100644 --- a/tests/e2e/network_change_test.go +++ b/tests/e2e/network_change_test.go @@ -38,7 +38,7 @@ Endpoint = 1.1.1.1:51820 } // Launch a long-running command to keep the tunnel alive - cmd := exec.Command(binaryPath, "--profile", profile, "--", "sleep", "5") + cmd := exec.Command(binaryPath, "run", "--profile", profile, "--", "sleep", "5") cmd.Env = append(os.Environ(), fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir), fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir), @@ -57,7 +57,7 @@ Endpoint = 1.1.1.1:51820 // operational and hasn't crashed due to the host socket's nature. // We launch a second process to verify the session is still valid. - cmdJoin := exec.Command(binaryPath, "--profile", profile, "--", "ls") + cmdJoin := exec.Command(binaryPath, "run", "--profile", profile, "--", "ls") cmdJoin.Env = append(os.Environ(), fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir), fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir), |
