helper/proc: pass extra files and start
All checks were successful
Test / Create distribution (push) Successful in 28s
Test / Fortify (push) Successful in 2m41s
Test / Fpkg (push) Successful in 3m38s
Test / Data race detector (push) Successful in 3m53s
Test / Flake checks (push) Successful in 59s

For integration with native container tooling.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-14 23:23:57 +09:00
parent 2647a71be1
commit 9e18d1de77
4 changed files with 26 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
package internal_test
import (
"os"
"testing"
"git.gensokyo.uk/security/fortify/internal"
)
func TestExecutable(t *testing.T) {
for i := 0; i < 16; i++ {
if got := internal.MustExecutable(); got != os.Args[0] {
t.Errorf("MustExecutable: %q, want %q",
got, os.Args[0])
}
}
}