diff options
author | unknown <guilhem@gbichot4.local> | 2008-04-16 16:31:38 +0200 |
---|---|---|
committer | unknown <guilhem@gbichot4.local> | 2008-04-16 16:31:38 +0200 |
commit | 75c8e2f4be522b24a0f365dcd0300e05b3605a29 (patch) | |
tree | 6e0d4d593809f0514ae1592df32d22abeb327732 /dbug | |
parent | 28131daa266e90e223c4b8847346d5dc55c5ffaf (diff) | |
download | mariadb-git-75c8e2f4be522b24a0f365dcd0300e05b3605a29.tar.gz |
Fix for ma_test_all-t failure and dbug/tests-t failure on Solaris:
on that machine, "perl" calls /usr/local/bin/perl (so this is what
runs unittest's unit.pl), while some test scripts (ma_test_recovery.pl
etc) use /usr/bin/perl which seems to either conflict with /usr/local/bin/perl
or have problems of its own (Perl errors when loading modules).
Instead we use perl from the PATH. /usr/bin/env seems to be available
on lots of Unix machines.
dbug/tests-t.pl:
look for perl in PATH
storage/maria/unittest/ma_test_all-t:
Look for perl in PATH
storage/maria/unittest/ma_test_recovery.pl:
Look for perl in PATH. Close MY_LOG to flush buffers to that diff sees
the whole file
Diffstat (limited to 'dbug')
-rwxr-xr-x | dbug/tests-t.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/tests-t.pl b/dbug/tests-t.pl index fad77a74ce7..a4227e8aa07 100755 --- a/dbug/tests-t.pl +++ b/dbug/tests-t.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # A driver program to test DBUG features - runs tests (shell commands) |