From 29304ba81dd3a600454c017d7720a608143d87a0 Mon Sep 17 00:00:00 2001
From: Jamie Anderson <jamieand@amazon.com>
Date: Tue, 2 Mar 2021 19:26:37 +0000
Subject: [PATCH] Skip mutating vfs tests

Signed-off-by: Jamie Anderson <jamieand@amazon.com>
---
 daemon/graphdriver/vfs/vfs_test.go | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/daemon/graphdriver/vfs/vfs_test.go b/daemon/graphdriver/vfs/vfs_test.go
index 7c59ec3..9562959 100644
--- a/daemon/graphdriver/vfs/vfs_test.go
+++ b/daemon/graphdriver/vfs/vfs_test.go
@@ -4,6 +4,7 @@ package vfs // import "github.com/docker/docker/daemon/graphdriver/vfs"
 
 import (
 	"testing"
+	"github.com/docker/docker/testutil"
 
 	"github.com/docker/docker/daemon/graphdriver/graphtest"
 
@@ -17,25 +18,31 @@ func init() {
 // This avoids creating a new driver for each test if all tests are run
 // Make sure to put new tests between TestVfsSetup and TestVfsTeardown
 func TestVfsSetup(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.GetDriver(t, "vfs")
 }
 
 func TestVfsCreateEmpty(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.DriverTestCreateEmpty(t, "vfs")
 }
 
 func TestVfsCreateBase(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.DriverTestCreateBase(t, "vfs")
 }
 
 func TestVfsCreateSnap(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.DriverTestCreateSnap(t, "vfs")
 }
 
 func TestVfsSetQuota(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.DriverTestSetQuota(t, "vfs", false)
 }
 
 func TestVfsTeardown(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	graphtest.PutDriver(t)
 }
-- 
2.25.0.24.gbc7a3d4

