summaryrefslogtreecommitdiff
path: root/tests/e2e/arg_integrity_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/arg_integrity_test.go')
-rw-r--r--tests/e2e/arg_integrity_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/e2e/arg_integrity_test.go b/tests/e2e/arg_integrity_test.go
index 7121c2b..497a51d 100644
--- a/tests/e2e/arg_integrity_test.go
+++ b/tests/e2e/arg_integrity_test.go
@@ -20,7 +20,10 @@ func TestArgumentIntegrity(t *testing.T) {
for _, payload := range payloads {
t.Run(fmt.Sprintf("Payload_%s", payload), func(t *testing.T) {
- binaryPath := GetBinaryPath()
+ binaryPath, err := GetBinaryPath()
+ if err != nil {
+ t.Skip("Skipping E2E test: wg-wrap binary not found (WG_WRAP_BIN not set)")
+ }
cmd := exec.Command(binaryPath, "test-args", payload)
out, err := cmd.CombinedOutput()
if err != nil {