helper/bwrap: rename Write to WriteFile
In case this might want to be an io.Writer. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -113,7 +113,7 @@ func TestConfig_Args(t *testing.T) {
|
||||
},
|
||||
{
|
||||
"copy", (new(bwrap.Config)).
|
||||
Write("/.fortify/version", make([]byte, 8)).
|
||||
WriteFile("/.fortify/version", make([]byte, 8)).
|
||||
CopyBind("/etc/group", make([]byte, 8)).
|
||||
CopyBind("/etc/passwd", make([]byte, 8), true),
|
||||
[]string{
|
||||
|
||||
Reference in New Issue
Block a user