forked from TrueCloudLab/restic
Fix rest-server tests
Since today, the rest-server needs to be explicitly told (via `--no-auth`) that authentication is not necessary.
This commit is contained in:
parent
0e0fee9c8f
commit
e5c929b793
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func runRESTServer(ctx context.Context, t testing.TB, dir string) (*url.URL, fun
|
||||||
t.Skip(err)
|
t.Skip(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd := exec.CommandContext(ctx, srv, "--path", dir)
|
cmd := exec.CommandContext(ctx, srv, "--no-auth", "--path", dir)
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stdout
|
cmd.Stderr = os.Stdout
|
||||||
if err := cmd.Start(); err != nil {
|
if err := cmd.Start(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue