summaryrefslogtreecommitdiff
path: root/tests/e2e/vulnerability_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/vulnerability_test.go')
-rw-r--r--tests/e2e/vulnerability_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e2e/vulnerability_test.go b/tests/e2e/vulnerability_test.go
index 26536fe..23de6bd 100644
--- a/tests/e2e/vulnerability_test.go
+++ b/tests/e2e/vulnerability_test.go
@@ -87,7 +87,7 @@ Endpoint = 1.1.1.1:51820
// 2. Run a command that performs a DNS lookup using exec.Command on the wg-wrap binary.
// We use 'timeout 3 getent hosts google.com' to ensure it fails quickly instead of waiting on timeouts.
- cmd := exec.Command(binaryPath, "--profile", profileName, "--", "timeout", "3", "getent", "hosts", "google.com")
+ cmd := exec.Command(binaryPath, "run", "--profile", profileName, "--", "timeout", "3", "getent", "hosts", "google.com")
cmd.Env = append(os.Environ(),
fmt.Sprintf("XDG_CONFIG_HOME=%s", tmpConfigDir),
fmt.Sprintf("XDG_RUNTIME_DIR=%s", tmpRuntimeDir),