From 14d074d3d2191001935f801b0de1f44d0f16b74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Gul=C3=A1csi?= Date: Fri, 8 Jan 2016 15:00:01 +0100 Subject: [PATCH] Change the diskpacked reindex test data, fix hash And try to underscore that the last byte is an LF, which must be kept and accounted for. Andy Song raised my attention to this ambiguity. Change-Id: Ia352980350e44b57f47394841f643a737b91dda7 --- pkg/blobserver/diskpacked/reindex_test.go | 2 +- .../diskpacked/testdata/pack-00000.blobs | Bin 218 -> 240 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/blobserver/diskpacked/reindex_test.go b/pkg/blobserver/diskpacked/reindex_test.go index 16cf967bf..cfcc294a7 100644 --- a/pkg/blobserver/diskpacked/reindex_test.go +++ b/pkg/blobserver/diskpacked/reindex_test.go @@ -34,7 +34,7 @@ func TestWalkPack(t *testing.T) { {0, "sha1-f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0", 49, 5}, {0, "sha1-70c07ec18ef89c5309bbb0937f3a6342411e1fdd", 103, 5}, {0, "", 157, 7}, - {0, "sha1-70c07ec18ef89c5309bbb0937f3a6342411e1fdd", 213, 6}, + {0, "sha1-4c9c38b87dbe92d701cc0ca889fffb10bb1039b9", 214, 26}, {1, "sha1-fe05bcdcdc4928012781a5f1a2a77cbb5398e106", 49, 3}, {1, "sha1-ad782ecdac770fc6eb9a62e44f90873fb97fb26b", 101, 3}, {1, "sha1-b802f384302cb24fbab0a44997e820bf2e8507bb", 153, 5}, diff --git a/pkg/blobserver/diskpacked/testdata/pack-00000.blobs b/pkg/blobserver/diskpacked/testdata/pack-00000.blobs index f7ea31c8baf561f4b841c814b65fd8ba7d2b5973..8b14775a545a4697114162c25461021c5b4f4099 100644 GIT binary patch delta 77 zcmcb`_ZAtQ{(~w({LD5 delta 17 Ycmeysc#Cnus);t5>}Ijy`9(P?06-E3p8x;=