• unknown's avatar
    Bug#25657 mysql-test-run.pl kill itself under ActiveState perl · 6437c035
    unknown authored
     - Various fixes for running mysql-test-run.pl on ActiveState perl
       for windows. Reading it's source in win32/win32.c helps...
    
    
    mysql-test/lib/mtr_process.pl:
      Use "real_pid" when killing the process on ActiveState perl for windows
      Wait blocking for the pseudo pid to exit.
      Change "sleep_until_file_created" to return 1 when pidfile has been
      created - this should avoid early wakeup if $pid was 0
    mysql-test/lib/mtr_timer.pl:
      Wake timer process with signal 15 to avoid to avoid resource leak
      on ActiveState perl for windows.
      Install signal handler in timer process to  exit gracefully
    mysql-test/mysql-test-run.pl:
      Read "real_pid" of process from pid_file - to be used when killing the
      process on ActiveState perl
      Drop the --console option to mysqld
      Pass "real_pid" to mtr_check_stop_server so it can select to use it
      Correct two argument declarations
    6437c035
mtr_timer.pl 4.1 KB