aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/acl_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/acl_test.go')
-rw-r--r--system/acl_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/acl_test.go b/system/acl_test.go
index 910e5a13..5228b902 100644
--- a/system/acl_test.go
+++ b/system/acl_test.go
@@ -54,7 +54,7 @@ func TestACLUpdateOp(t *testing.T) {
}, nil},
})
- checkOpsBuilder(t, "UpdatePerm", []opsBuilderTestCase{
+ checkOpsBuilder(t, "UpdatePermType", []opsBuilderTestCase{
{"simple",
0xdeadbeef,
func(_ *testing.T, sys *I) {
@@ -65,8 +65,7 @@ func TestACLUpdateOp(t *testing.T) {
&aclUpdateOp{Process, "/run/user/1971/hakurei", []acl.Perm{acl.Execute}},
&aclUpdateOp{Process, "/tmp/hakurei.0/tmpdir/150", []acl.Perm{acl.Read, acl.Write, acl.Execute}},
}, stub.Expect{}},
- })
- checkOpsBuilder(t, "UpdatePermType", []opsBuilderTestCase{
+
{"tmpdirp", 0xdeadbeef, func(_ *testing.T, sys *I) {
sys.UpdatePermType(User, "/tmp/hakurei.0/tmpdir", acl.Execute)
}, []Op{