Fix paths for tests
This commit is contained in:
parent
05500dc5f8
commit
94b27e8933
2 changed files with 2 additions and 2 deletions
|
@ -1100,7 +1100,7 @@ func TestFindJSON(t *testing.T) {
|
||||||
|
|
||||||
func TestRebuildIndex(t *testing.T) {
|
func TestRebuildIndex(t *testing.T) {
|
||||||
withTestEnvironment(t, func(env *testEnvironment, gopts GlobalOptions) {
|
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)
|
SetupTarTestFixture(t, env.base, datafile)
|
||||||
|
|
||||||
out, err := testRunCheckOutput(gopts)
|
out, err := testRunCheckOutput(gopts)
|
||||||
|
|
|
@ -20,7 +20,7 @@ func TestRestoreLocalLayout(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, test := range tests {
|
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)
|
SetupTarTestFixture(t, env.base, datafile)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue