mirror of
https://github.com/octoleo/restic.git
synced 2025-01-12 10:30:58 +00:00
Merge pull request #1684 from restic/fix-rest-tests
Fix rest-server tests
This commit is contained in:
commit
9fc38803e0
@ -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 New Issue
Block a user