aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/bwrap_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-15 02:21:59 +0900
committerOphestra <cat@gensokyo.uk>2025-03-15 02:27:40 +0900
commit10a21ce3ef0566194d874b9da9b437971e968133 (patch)
tree486d7a93d4abab4c377db632db169e1543c91ae4 /helper/bwrap_test.go
parent0f1f0e43643d302494c0dac8bbc3eda7813f06bb (diff)
helper: expose extra files to direct
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/bwrap_test.go')
-rw-r--r--helper/bwrap_test.go15
1 files changed, 10 insertions, 5 deletions
diff --git a/helper/bwrap_test.go b/helper/bwrap_test.go
index 76f7cce5..550ff34d 100644
--- a/helper/bwrap_test.go
+++ b/helper/bwrap_test.go
@@ -36,7 +36,8 @@ func TestBwrap(t *testing.T) {
"fortify",
argsWt, false,
argF, nil,
- sc, false, nil, nil,
+ nil,
+ sc, nil,
)
if err := h.Start(); !errors.Is(err, os.ErrNotExist) {
@@ -51,7 +52,8 @@ func TestBwrap(t *testing.T) {
"fortify",
argsWt, false,
argF, nil,
- sc, false, nil, nil,
+ nil,
+ sc, nil,
); got == nil {
t.Errorf("MustNewBwrap(%#v, %#v, %#v) got nil",
sc, argsWt, "fortify")
@@ -73,7 +75,8 @@ func TestBwrap(t *testing.T) {
"fortify",
argsWt, false,
argF, nil,
- &bwrap.Config{Hostname: "\x00"}, false, nil, nil,
+ nil,
+ &bwrap.Config{Hostname: "\x00"}, nil,
)
})
@@ -87,7 +90,8 @@ func TestBwrap(t *testing.T) {
ctx, "crash-test-dummy",
nil, false,
argFChecked, func(cmd *exec.Cmd) { cmd.Stdout, cmd.Stderr = stdout, stderr },
- sc, false, nil, nil,
+ nil,
+ sc, nil,
)
if err := h.Start(); err != nil {
@@ -108,7 +112,8 @@ func TestBwrap(t *testing.T) {
ctx, "crash-test-dummy",
argsWt, stat,
argF, cmdF,
- sc, false, nil, nil,
+ nil,
+ sc, nil,
)
})
})