aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus/dbus_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-22 02:01:01 +0900
committerOphestra <cat@gensokyo.uk>2025-01-22 11:49:23 +0900
commit8c51012ef5df1b421a21ae5117fcf66460087fd5 (patch)
tree1c12c784a85c33e7b87ffd2356ff272d0e681a6e /dbus/dbus_test.go
parent5a64cdaf4fedf4cc12f4574f07e1376e907aa7d8 (diff)
dbus: enable syscall filter
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dbus/dbus_test.go')
-rw-r--r--dbus/dbus_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus_test.go b/dbus/dbus_test.go
index 717ded71..7128c08a 100644
--- a/dbus/dbus_test.go
+++ b/dbus/dbus_test.go
@@ -141,7 +141,7 @@ func testProxyStartWaitCloseString(t *testing.T, sandbox bool) {
t.Run("unsealed start of "+id, func(t *testing.T) {
want := "proxy not sealed"
- if err := p.Start(nil, nil, sandbox); err == nil || err.Error() != want {
+ if err := p.Start(nil, nil, sandbox, false); err == nil || err.Error() != want {
t.Errorf("Start() error = %v, wantErr %q",
err, errors.New(want))
return
@@ -175,7 +175,7 @@ func testProxyStartWaitCloseString(t *testing.T, sandbox bool) {
}
t.Run("sealed start of "+id, func(t *testing.T) {
- if err := p.Start(nil, output, sandbox); err != nil {
+ if err := p.Start(nil, output, sandbox, false); err != nil {
t.Fatalf("Start(nil, nil) error = %v",
err)
}