mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-19 00:04:54 +00:00
redis: update test error message in CVE patch
The expected error message has changed between versions - update the test in the patch accordingly. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
41810a1121
commit
b9822f5eaf
@ -71,7 +71,7 @@ index d836f9c..0b83b89 100644
|
|||||||
+ $r2 auth key-permission-RW password
|
+ $r2 auth key-permission-RW password
|
||||||
+ catch {$r2 SET x 5} err
|
+ catch {$r2 SET x 5} err
|
||||||
+ set err
|
+ set err
|
||||||
+ } {NOPERM No permissions to access a key}
|
+ } {NOPERM this user has no permissions to access one of the keys used as arguments}
|
||||||
+
|
+
|
||||||
+ test {Validate read and write permissions format - no pattern} {
|
+ test {Validate read and write permissions format - no pattern} {
|
||||||
+ # No pattern results with R/W access to no key (currently we accept this syntax error)
|
+ # No pattern results with R/W access to no key (currently we accept this syntax error)
|
||||||
@ -79,7 +79,7 @@ index d836f9c..0b83b89 100644
|
|||||||
+ $r2 auth key-permission-RW password
|
+ $r2 auth key-permission-RW password
|
||||||
+ catch {$r2 SET x 5} err
|
+ catch {$r2 SET x 5} err
|
||||||
+ set err
|
+ set err
|
||||||
+ } {NOPERM No permissions to access a key}
|
+ } {NOPERM this user has no permissions to access one of the keys used as arguments}
|
||||||
+
|
+
|
||||||
test {Test separate read and write permissions on different selectors are not additive} {
|
test {Test separate read and write permissions on different selectors are not additive} {
|
||||||
r ACL SETUSER key-permission-RW-selector on nopass "(%R~read* +@all)" "(%W~write* +@all)"
|
r ACL SETUSER key-permission-RW-selector on nopass "(%R~read* +@all)" "(%W~write* +@all)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user