Merge pull request #3252 from AkihiroSuda/fix-libcontainer-integration-compilation-failure

fix `libcontainer/integration/exec_test.go:1859:8: undefined: ioutil`
This commit is contained in:
Mrunal Patel
2021-10-29 09:45:34 -07:00
committed by GitHub
+1 -1
View File
@@ -1856,7 +1856,7 @@ func TestBindMountAndUser(t *testing.T) {
err := os.MkdirAll(dirhost, 0o755)
ok(t, err)
err = ioutil.WriteFile(filepath.Join(dirhost, "foo.txt"), []byte("Hello"), 0o755)
err = os.WriteFile(filepath.Join(dirhost, "foo.txt"), []byte("Hello"), 0o755)
ok(t, err)
// Make this dir inaccessible to "group,others".