Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f8a9708a
Commit
f8a9708a
authored
Apr 08, 2019
by
antirez
Browse files
ACL: regression test for #5998.
parent
75648f99
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/acl.tcl
View file @
f8a9708a
...
@@ -108,4 +108,11 @@ start_server {tags {"acl"}} {
...
@@ -108,4 +108,11 @@ start_server {tags {"acl"}} {
assert_match
{
*+debug|segfault*
}
$cmdstr
assert_match
{
*+debug|segfault*
}
$cmdstr
assert_match
{
*+acl*
}
$cmdstr
assert_match
{
*+acl*
}
$cmdstr
}
}
test
{
ACL regression: memory leaks adding / removing subcommands
}
{
r AUTH default
""
r ACL setuser newuser reset -debug +debug|a +debug|b +debug|c
r ACL setuser newuser -debug
# The test framework will detect a leak if any.
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment