diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hakurei/testsuite/sandbox/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/hakurei/testsuite/sandbox/main.go b/cmd/hakurei/testsuite/sandbox/main.go index 31e85331..7927882d 100644 --- a/cmd/hakurei/testsuite/sandbox/main.go +++ b/cmd/hakurei/testsuite/sandbox/main.go @@ -35,7 +35,7 @@ func mustStart( ) (pid int, done <-chan error) { _serial := strconv.FormatUint(serial, 10) _, done = testsuite.MustStartWith( - ctx, cred, nil, files, + ctx, cred, false, nil, files, "hakurei", "exec", "-a", strconv.Itoa(identity), "sleep", "infinity", _serial, @@ -202,12 +202,12 @@ func main() { for _, p := range []byte{'a', 'b', 'i', 'p'} { testsuite.MustFail( - &cred, nil, + &cred, nil, false, "hakurei", "exec", "capsh", "--has-"+string(p)+"=CAP_SYS_ADMIN", ) } testsuite.MustFail( - &cred, nil, + &cred, nil, false, "hakurei", "exec", "umount", "-R", "/dev", ) }) |
