1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Mathias Gibbens <gibmat@debian.org>
Description: Skip part of test that fails in salsa CI environment
Forwarded: not-needed
diff --git a/image/lxc_test.go b/image/lxc_test.go
index 3d0847a..7023cfc 100644
--- a/image/lxc_test.go
+++ b/image/lxc_test.go
@@ -11,7 +11,6 @@ import (
"testing"
"github.com/stretchr/testify/require"
- "golang.org/x/sys/unix"
"golang.org/x/text/cases"
"golang.org/x/text/language"
@@ -211,8 +210,6 @@ func TestLXCCreateMetadataBasic(t *testing.T) {
// Create /dev and device file.
err := os.MkdirAll(filepath.Join(cacheDir, "rootfs", "dev"), 0o755)
require.NoError(t, err)
- err = unix.Mknod(filepath.Join(cacheDir, "rootfs", "dev", "null"), unix.S_IFCHR, 0)
- require.NoError(t, err)
return &l
},
},
|