From d7bb79b6f177e8c58d47695e0ee1a072475463c4 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 23 Jul 2019 18:59:55 -0700 Subject: ext: Add ext2 and ext3 tiny images. PiperOrigin-RevId: 259657917 --- pkg/sentry/fs/ext/extent_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/sentry/fs/ext/extent_test.go') diff --git a/pkg/sentry/fs/ext/extent_test.go b/pkg/sentry/fs/ext/extent_test.go index c8c52f836..9e55187e5 100644 --- a/pkg/sentry/fs/ext/extent_test.go +++ b/pkg/sentry/fs/ext/extent_test.go @@ -145,7 +145,8 @@ func TestExtentTree(t *testing.T) { t.Fatalf("inode.buildExtTree failed: %v", err) } - if diff := cmp.Diff(&mockInode.root, node0, cmpopts.IgnoreUnexported(disklayout.ExtentNode{})); diff != "" { + opt := cmpopts.IgnoreUnexported(disklayout.ExtentIdx{}, disklayout.ExtentHeader{}) + if diff := cmp.Diff(&mockInode.root, node0, opt); diff != "" { t.Errorf("extent tree mismatch (-want +got):\n%s", diff) } } -- cgit v1.2.3