diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-05 19:45:24 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-05 19:45:24 +0900 |
| commit | 2e3f6a4c5194e2f571f488e81cd1511fe3fbba48 (patch) | |
| tree | a8e0bb059e905323f3e5ddfb233394a2e582ce8b /helper | |
| parent | 2162029f46d696610a39492c9dc0399720d91547 (diff) | |
helper/bwrap: move test out of bwrap package
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper')
| -rw-r--r-- | helper/bwrap/config_test.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/helper/bwrap/config_test.go b/helper/bwrap/config_test.go index 8590723a..0170bcf8 100644 --- a/helper/bwrap/config_test.go +++ b/helper/bwrap/config_test.go @@ -1,19 +1,21 @@ -package bwrap +package bwrap_test import ( "slices" "testing" + + "git.gensokyo.uk/security/fortify/helper/bwrap" ) func TestConfig_Args(t *testing.T) { testCases := []struct { name string - conf *Config + conf *bwrap.Config want []string }{ { name: "xdg-dbus-proxy constraint sample", - conf: (&Config{ + conf: (&bwrap.Config{ Unshare: nil, UserNS: false, Clearenv: true, @@ -71,7 +73,7 @@ func TestConfig_Args(t *testing.T) { }, { name: "fortify permissive default nixos", - conf: (&Config{ + conf: (&bwrap.Config{ Unshare: nil, Net: true, UserNS: true, |
