"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/unit/info.tcl" between
redis-6.2-rc3.tar.gz and redis-6.2.0.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

info.tcl  (redis-6.2-rc3):info.tcl  (redis-6.2.0)
skipping to change at line 153 skipping to change at line 153
r auth alice p1pp0 r auth alice p1pp0
catch {r set a b} e catch {r set a b} e
assert_match {NOPERM*} $e assert_match {NOPERM*} $e
assert_match {*count=1*} [errorstat NOPERM] assert_match {*count=1*} [errorstat NOPERM]
assert_match {*calls=0,*,rejected_calls=1,failed_calls=0} [cmdstat s et] assert_match {*calls=0,*,rejected_calls=1,failed_calls=0} [cmdstat s et]
assert_equal [s total_error_replies] 1 assert_equal [s total_error_replies] 1
r config resetstat r config resetstat
assert_match {} [errorstat NOPERM] assert_match {} [errorstat NOPERM]
} }
} }
start_server {} {
test {Unsafe command names are sanitized in INFO output} {
catch {r host:} e
set info [r info commandstats]
assert_match {*cmdstat_host_:calls=1*} $info
}
}
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)