aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/assert.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-28 01:09:26 +0900
committerOphestra <cat@gensokyo.uk>2025-03-28 01:35:56 +0900
commit660a2898dc0dbfe9963d8f336e04582955b56b8a (patch)
treeee6dee579efb593c04950f481270be81a6ea1a19 /test/sandbox/assert.go
parentfaf59e12c09348de3fe6a6f491efcdc820ef93d1 (diff)
test/sandbox/ptrace: dump seccomp bpf program
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/assert.go')
-rw-r--r--test/sandbox/assert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go
index 3a34c736..c4b59fd7 100644
--- a/test/sandbox/assert.go
+++ b/test/sandbox/assert.go
@@ -116,7 +116,7 @@ func (t *T) MustCheck(want *TestCase) {
}
if want.Seccomp {
- if TrySyscalls() != nil {
+ if trySyscalls() != nil {
os.Exit(1)
}
} else {