#At file:///home/jonas/src/telco-7.0/ based on revid:ole.john.aske@stripped
4120 Jonas Oreland 2011-01-17
ndb - set NDBT_TMP_DIR to MYSQL_TMP_DIR, so that test_mgmd gets put into mysql-test/var/tmp instead of /tmp
modified:
mysql-test/suite/ndb/include/run_ndbapitest.inc
=== modified file 'mysql-test/suite/ndb/include/run_ndbapitest.inc'
--- a/mysql-test/suite/ndb/include/run_ndbapitest.inc 2010-01-07 17:39:03 +0000
+++ b/mysql-test/suite/ndb/include/run_ndbapitest.inc 2011-01-17 12:42:30 +0000
@@ -22,6 +22,11 @@ unless($test_bin)
exit(0);
}
+if ($ENV{'MYSQL_TMP_DIR'})
+{
+ $ENV{'NDBT_TMP_DIR'} = $ENV{'MYSQL_TMP_DIR'};
+}
+
my $cmd = $test_bin;
$cmd .= " $args" if $args;
$cmd .= " 2>&1";
Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20110117124230-agnsrsj042czn3b8.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (jonas:4120) | Jonas Oreland | 17 Jan |