You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"reads value form before Envoy ignore-rest", []string{"envoy", AddressPathFlag, tmpDir}, tmpDir, ""},
393
-
{"preserves spaces in direct argv value", []string{"envoy", AddressPathFlag, pathWithSpaces}, pathWithSpaces, ""},
394
-
{"reads equals form before Envoy ignore-rest", []string{"envoy", AddressPathFlag+"="+tmpFile}, tmpFile, ""},
395
-
{"finds value after other Envoy-owned args", []string{"--config", "/etc/envoy.yaml", AddressPathFlag, tmpDir}, tmpDir, ""},
396
-
{"flag not present", []string{"envoy", "--config", "/etc/envoy.yaml"}, "", AddressPathFlag+" not found in command line"},
397
-
{"flag present but no value", []string{"envoy", AddressPathFlag}, "", AddressPathFlag+" not found in command line"},
398
-
{"empty cmdline", []string{}, "", AddressPathFlag+" not found in command line"},
399
-
{"ignores value form hidden behind Envoy ignore-rest", []string{"envoy", "--", AddressPathFlag, tmpDir}, "", AddressPathFlag+" not found in command line"},
400
-
{"keeps earlier equals form when later value is hidden", []string{"envoy", AddressPathFlag+"="+tmpFile, "--", AddressPathFlag, tmpDir}, tmpFile, ""},
401
-
{"accepts ignore-rest token as the flag value", []string{"envoy", AddressPathFlag, "--"}, "--", ""},
402
-
{"reads value form from shell-wrapped command", []string{"sh", "-c", fmt.Sprintf("sleep 30 && echo %s %s", AddressPathFlag, tmpDir)}, tmpDir, ""},
403
-
{"reads value form from shell wrapper with extra args", []string{"sh", "-c", fmt.Sprintf("envoy %s %s --other-flag", AddressPathFlag, tmpDir)}, tmpDir, ""},
404
-
{"reads equals form from shell-wrapped command", []string{"sh", "-c", fmt.Sprintf("envoy %s=%s --other-flag", AddressPathFlag, tmpFile)}, tmpFile, ""},
405
-
{"ignores shell-wrapped value hidden behind Envoy ignore-rest", []string{"sh", "-c", fmt.Sprintf("envoy -- %s %s", AddressPathFlag, tmpDir)}, "", AddressPathFlag+" not found in command line"},
406
-
{"keeps shell-wrapped equals form before ignore-rest", []string{"sh", "-c", fmt.Sprintf("envoy %s=%s -- %s %s", AddressPathFlag, tmpFile, AddressPathFlag, tmpDir)}, tmpFile, ""},
0 commit comments