From 7ffa18907736ac00009a1d428b9bb45167a26f39 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 3 Nov 2016 21:42:50 -0700 Subject: [PATCH] Adjusts location of archive test fixtures. --- snapshot/archive_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/snapshot/archive_test.go b/snapshot/archive_test.go index 05fdd378a5..9d07e32dc1 100644 --- a/snapshot/archive_test.go +++ b/snapshot/archive_test.go @@ -68,14 +68,14 @@ func TestArchive_BadData(t *testing.T) { Name string Error string }{ - {"../../test/snapshot/empty.tar", "failed checking integrity of snapshot"}, - {"../../test/snapshot/extra.tar", "unexpected file \"nope\""}, - {"../../test/snapshot/missing-meta.tar", "hash check failed for \"meta.json\""}, - {"../../test/snapshot/missing-state.tar", "hash check failed for \"state.bin\""}, - {"../../test/snapshot/missing-sha.tar", "file missing"}, - {"../../test/snapshot/corrupt-meta.tar", "hash check failed for \"meta.json\""}, - {"../../test/snapshot/corrupt-state.tar", "hash check failed for \"state.bin\""}, - {"../../test/snapshot/corrupt-sha.tar", "list missing hash for \"nope\""}, + {"../test/snapshot/empty.tar", "failed checking integrity of snapshot"}, + {"../test/snapshot/extra.tar", "unexpected file \"nope\""}, + {"../test/snapshot/missing-meta.tar", "hash check failed for \"meta.json\""}, + {"../test/snapshot/missing-state.tar", "hash check failed for \"state.bin\""}, + {"../test/snapshot/missing-sha.tar", "file missing"}, + {"../test/snapshot/corrupt-meta.tar", "hash check failed for \"meta.json\""}, + {"../test/snapshot/corrupt-state.tar", "hash check failed for \"state.bin\""}, + {"../test/snapshot/corrupt-sha.tar", "list missing hash for \"nope\""}, } for i, c := range cases { f, err := os.Open(c.Name)