From 6ff01f51e73537015d6ec9a182f6b740cea16e76 Mon Sep 17 00:00:00 2001
From: Jamie Anderson <jamieand@amazon.com>
Date: Thu, 4 Mar 2021 18:11:39 +0000
Subject: [PATCH] Skip quota tests that try to manage block devices

Signed-off-by: Jamie Anderson <jamieand@amazon.com>
---
 quota/projectquota_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/quota/projectquota_test.go b/quota/projectquota_test.go
index 9bf5c29..4e1e9c2 100644
--- a/quota/projectquota_test.go
+++ b/quota/projectquota_test.go
@@ -8,6 +8,7 @@ import (
 	"os"
 	"path/filepath"
 	"testing"
+	"github.com/docker/docker/testutil"
 
 	"gotest.tools/v3/assert"
 	is "gotest.tools/v3/assert/cmp"
@@ -17,6 +18,7 @@ import (
 const testQuotaSize = 10 * 1024 * 1024
 
 func TestBlockDev(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	if msg, ok := CanTestQuota(); !ok {
 		t.Skip(msg)
 	}
-- 
2.25.0.24.gbc7a3d4

