diff options
Diffstat (limited to 'test/sandbox/assert.go')
| -rw-r--r-- | test/sandbox/assert.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go index 4df2774a..12323a0d 100644 --- a/test/sandbox/assert.go +++ b/test/sandbox/assert.go @@ -78,3 +78,9 @@ func MustAssertFS(e fs.FS, wantFile string) { fatalf("%v", err) } } + +func MustAssertSeccomp() { + if TrySyscalls() != nil { + os.Exit(1) + } +} |
