Skip to content

Commit

Permalink
Test renaming command twice
Browse files Browse the repository at this point in the history
Signed-off-by: Rain Valentine <[email protected]>
  • Loading branch information
SoftlyRaining committed Jan 31, 2025
1 parent 6eb1b6d commit 823145e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/acl.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ start_server {overrides {user "default on nopass ~* +@all -flushdb"} tags {acl e
}

tags {acl external:skip} {
set renames [list rename-command "PING VpInG" rename-command "INCR VINCR" rename-command "SET VSET" rename-command "SADD VSADD" rename-command "HGET VHGET" rename-command "HSET VHSET" rename-command "CONFIG VCONFIG" ]
set renames [list rename-command "PING RainWasHere" rename-command "RainWasHere VPING" rename-command "INCR VINCR" rename-command "SET VSET" rename-command "SADD VSADD" rename-command "HGET VHGET" rename-command "HSET VHSET" rename-command "CONFIG VCONFIG" ]
start_server [list config_lines $renames ] {
test {ACL still denies individual renamed commands} {
r ACL setuser newuser on nopass ~* +acl -ping +incr
Expand Down

0 comments on commit 823145e

Please sign in to comment.