• unknown's avatar
    Windows fixes · bb60631b
    unknown authored
     - Use pipes "|"
     - Improved system command, create a temporary .sh faile that is executed  with cygwins sh(bash)
       This makes the Windows version behave exactly as the Lunix version(well almost...) 
     - Give unix path to DBUG, trace files is no produced if running ./mysql-test-run.pl --debug"
    
    
    client/mysqltest.c:
      Add new function "my_system" that run the <command> a she script using cygwin bash on windows.
    mysql-test/lib/mtr_misc.pl:
      Return all paths to executables in windows format "c:\src\.." when run on windows.
      This makes it possible to use the pipes "|" to pipöe the output form exeample "mysqlbinlog" into "mysql"
    mysql-test/mysql-test-run.pl:
      DBUG want's a unix format strings for where it should put the tracefile(don't ask me why but it works)
      Just chop of the first "c:" from the "c:/src/.." string and DBUG will be happy
    bb60631b
mtr_misc.pl 2.33 KB