• bodong.ybd's avatar
    Tests: Some fixes for macOS · 781e50d4
    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`.
    
    (cherry picked from commit f22fa959)
    781e50d4
oom-score-adj.tcl 2.39 KB