From a7a12b2fcec36a5d60e60f87dc6808bdf012f4d8 Mon Sep 17 00:00:00 2001
From: Jamie Anderson <jamieand@amazon.com>
Date: Thu, 11 Mar 2021 21:40:57 +0000
Subject: [PATCH] Skip daemon/TestGetSourceMount in buildroot

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

diff --git a/daemon/oci_linux_test.go b/daemon/oci_linux_test.go
index 890875a..f814dbc 100644
--- a/daemon/oci_linux_test.go
+++ b/daemon/oci_linux_test.go
@@ -5,6 +5,7 @@ import (
 	"os"
 	"path/filepath"
 	"testing"
+	"github.com/docker/docker/testutil"
 
 	containertypes "github.com/docker/docker/api/types/container"
 	"github.com/docker/docker/container"
@@ -180,6 +181,7 @@ func TestSysctlOverrideHost(t *testing.T) {
 }
 
 func TestGetSourceMount(t *testing.T) {
+	testutil.SkipIfBuildroot(t)
 	// must be able to find source mount for /
 	mnt, _, err := getSourceMount("/")
 	assert.NilError(t, err)
-- 
2.31.0.rc2

