• Kristian Nielsen's avatar
    Add error handling on realpath() call. · 41cfdc83
    Kristian Nielsen authored
    (Without this, it happened for me that realpath() failed returning
    undef for the default vardir. This in turn caused mysql-test-run.pl to
    delete the source mysql-test/ directory.)
    
    Backport from 10.1, it's not nice to get one's source directory nuked
    by a rouge mysql-test-run.
    41cfdc83
mysql-test-run.pl 192 KB