From 94b27e893323ae69405e3f62cd0c695dc396220d Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 23 Jul 2017 14:39:57 +0200 Subject: [PATCH] Fix paths for tests --- cmd/restic/integration_test.go | 2 +- cmd/restic/local_layout_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index 73e5bb409..1604f0908 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -1100,7 +1100,7 @@ func TestFindJSON(t *testing.T) { func TestRebuildIndex(t *testing.T) { withTestEnvironment(t, func(env *testEnvironment, gopts GlobalOptions) { - datafile := filepath.Join("..", "..", "restic", "checker", "testdata", "duplicate-packs-in-index-test-repo.tar.gz") + datafile := filepath.Join("..", "..", "internal", "checker", "testdata", "duplicate-packs-in-index-test-repo.tar.gz") SetupTarTestFixture(t, env.base, datafile) out, err := testRunCheckOutput(gopts) diff --git a/cmd/restic/local_layout_test.go b/cmd/restic/local_layout_test.go index 264ef997e..397fa2305 100644 --- a/cmd/restic/local_layout_test.go +++ b/cmd/restic/local_layout_test.go @@ -20,7 +20,7 @@ func TestRestoreLocalLayout(t *testing.T) { } for _, test := range tests { - datafile := filepath.Join("..", "..", "restic", "backend", "testdata", test.filename) + datafile := filepath.Join("..", "..", "internal", "backend", "testdata", test.filename) SetupTarTestFixture(t, env.base, datafile)