cmd/uplink: Pass -- in tests to avoid treating generated arg strings as flags.
Change-Id: I41c50b9f645b57ddc8832b0fc92f1c6bfaf2de8d
This commit is contained in:
parent
acb4435a67
commit
6f1eaef8d4
@ -125,7 +125,7 @@ func TestSetGetMeta(t *testing.T) {
|
||||
|
||||
cmd := exec.Command(uplinkExe,
|
||||
"--config-dir", ctx.Dir("uplink"),
|
||||
"meta", "get", string(keyNorm[1:len(keyNorm)-1]), uri,
|
||||
"meta", "get", "--", string(keyNorm[1:len(keyNorm)-1]), uri,
|
||||
)
|
||||
t.Log(cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user