• unknown's avatar
    Workaround for problem where cygwin's bash/sh randomly fails with error 128 which · a843a05f
    unknown authored
    mainly occurs on win2003 64bit.
     - Execute "exec" commands directly with cmd.exe and replace "--exec echo ..." with "--exec .\echo.exe ..." 
    
    
    client/mysqltest.c:
      Workaround the problem with "echo" in windows not behaving like "echo" in Unix.
      - Replace "--exec echo ..." with "--exec <path to mysqltest>\echo.exe" thus forcing
        use of our own echo implementation which baheves like on Unix.
      - The above change makes it possible to remove the need to execute all --exec's
        inside cygwin. Add ifdefs to only use use cygwin's bash conditionally
    mysql-test/lib/mtr_misc.pl:
      Add function for converting to the OS's native format
    mysql-test/mysql-test-run.pl:
      Convert path to executables to "windows native" (c:\<path>\) instead of "mixed"(c:/<path>) mode
      necessary for pipes and redirects to work properly in cmd.exe
    client/echo.c:
      New BitKeeper file ``client/echo.c''
    a843a05f
echo.c 1.37 KB