serve restic: fix tests after restic project removed vendoring
parent
1d3987bbbd
commit
36717c7d98
|
@ -61,6 +61,7 @@ func TestRestic(t *testing.T) {
|
||||||
cmd := exec.Command("go", args...)
|
cmd := exec.Command("go", args...)
|
||||||
cmd.Env = append(os.Environ(),
|
cmd.Env = append(os.Environ(),
|
||||||
"RESTIC_TEST_REST_REPOSITORY=rest:"+w.Server.URL()+path,
|
"RESTIC_TEST_REST_REPOSITORY=rest:"+w.Server.URL()+path,
|
||||||
|
"GO111MODULE=on",
|
||||||
)
|
)
|
||||||
out, err := cmd.CombinedOutput()
|
out, err := cmd.CombinedOutput()
|
||||||
if len(out) != 0 {
|
if len(out) != 0 {
|
||||||
|
|
Loading…
Reference in New Issue