mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
ACL: regression test for #5998.
This commit is contained in:
@@ -108,4 +108,11 @@ start_server {tags {"acl"}} {
|
||||
assert_match {*+debug|segfault*} $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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user