summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-07-06 16:17:32 +0200
committerunknown <kent@mysql.com>2005-07-06 16:17:32 +0200
commitb5081acd660fef8092d119287388f6f37e4c6e49 (patch)
treeb6945628087b90da7e1d0226806c7a55c4b2971d /mysql-test
parent502aa66c5c176341def1723c8ef24c3be78e8df1 (diff)
downloadmariadb-git-b5081acd660fef8092d119287388f6f37e4c6e49.tar.gz
mysql-test-run.pl:
Handle case where SHELL isn't set in Cygwin mysql_client_test.dsp: Put output into the "client_debug" and "client_release" directories VC++Files/tests/mysql_client_test.dsp: Put output into the "client_debug" and "client_release" directories mysql-test/mysql-test-run.pl: Handle case where SHELL isn't set in Cygwin
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 1a31bbee1d5..e2637cfa6ee 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -419,7 +419,8 @@ sub initial_setup () {
{
# Windows programs like 'mysqld' needs Windows paths
$glob_mysql_test_dir= `cygpath -m $glob_mysql_test_dir`;
- $glob_cygwin_shell= `cygpath -w $ENV{'SHELL'}`; # The Windows path c:\...
+ my $shell= $ENV{'SHELL'} || "/bin/bash";
+ $glob_cygwin_shell= `cygpath -w $shell`; # The Windows path c:\...
chomp($glob_mysql_test_dir);
chomp($glob_cygwin_shell);
}