• Oran Agra's avatar
    handle cur_test for nested tests · 0a1e7341
    Oran Agra authored
    if there are nested tests and nested servers, we need to restore the
    previous value of cur_test when a test exist.
    
    example:
    ```
    test{test 1} {
    	start_server {
    		test{test 1.1 - master only} {
    		}
    		start_server {
    		    test{test 1.2 - with replication} {
                }
    		}
    	}
    }
    ```
    when `test 1.1 - master only exists`, we're still inside `test 1`
    0a1e7341
test.tcl 5.8 KB