summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-07-06 16:17:32 +0200
committerkent@mysql.com <>2005-07-06 16:17:32 +0200
commit8b2ee5b11e96e9a419210a9388f188e899892ef3 (patch)
treeb6945628087b90da7e1d0226806c7a55c4b2971d /mysql-test
parentf82420356fb542ec82e645396f94c1301a4a1be1 (diff)
downloadmariadb-git-8b2ee5b11e96e9a419210a9388f188e899892ef3.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
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);
}