mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user