aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--helper/bwrap/config_test.go10
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,