"Fossies" - the Fresh Open Source Software Archive

Member "redis-6.0.8/tests/unit/moduleapi/blockedclient.tcl" (10 Sep 2020, 248 Bytes) of package /linux/misc/redis-6.0.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Tcl/Tk source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 # source tests/support/util.tcl
    2 
    3 set testmodule [file normalize tests/modules/blockedclient.so]
    4 
    5 start_server {tags {"modules"}} {
    6     r module load $testmodule
    7 
    8     test {Locked GIL acquisition} {
    9         assert_match "OK" [r acquire_gil]
   10     }
   11 }