helper: expose extra files to direct
All checks were successful
Test / Create distribution (push) Successful in 42s
Test / Fpkg (push) Successful in 11m23s
Test / Fortify (push) Successful in 5m32s
Test / Data race detector (push) Successful in 2m35s
Test / Flake checks (push) Successful in 56s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-15 02:21:59 +09:00
parent 0f1f0e4364
commit 10a21ce3ef
6 changed files with 40 additions and 40 deletions

View File

@@ -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,
)
})
})