• bodong.ybd's avatar
    Tests: Some fixes for macOS · f22fa959
    bodong.ybd authored
    1) cur_test: when restart_server, "no such variable" error occurs
      ./runtest --single integration/rdb
      test {client freed during loading}
          SET ::cur_test
          restart_server
            kill_server
              test "Check for memory leaks (pid $pid)"
              SET ::cur_test
              UNSET ::cur_test
          UNSET ::cur_test // This global variable has been unset.
    
    2) `ps --ppid` not available on macOS platform, can be replaced with
    `pgrep -P pid`.
    f22fa959
util.tcl 14.5 KB