summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-03-22 12:18:07 +0100
committerunknown <jonas@perch.ndb.mysql.com>2006-03-22 12:18:07 +0100
commit177e5b9ac2d4479a093985f903b5625cd70ccf84 (patch)
tree4f688c1a4cb1afa5e73c468befd8d5278d10a474 /ndb
parent3522bade6ebfcf16908981d0f2563e1862931b18 (diff)
downloadmariadb-git-177e5b9ac2d4479a093985f903b5625cd70ccf84.tar.gz
ndb -
some more ndb-autotest updates (previously uncommitted...but in use) ndb/test/run-test/ndb-autotest.sh: More autotest updates
Diffstat (limited to 'ndb')
-rwxr-xr-xndb/test/run-test/ndb-autotest.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/ndb/test/run-test/ndb-autotest.sh b/ndb/test/run-test/ndb-autotest.sh
index 459f0cd6233..544897a2aa2 100755
--- a/ndb/test/run-test/ndb-autotest.sh
+++ b/ndb/test/run-test/ndb-autotest.sh
@@ -13,7 +13,7 @@ save_args=$*
VERSION="ndb-autotest.sh version 1.04"
DATE=`date '+%Y-%m-%d'`
-HOST=`hostname`
+HOST=`hostname -s`
export DATE HOST
set -e
@@ -35,6 +35,7 @@ report=yes
clone=5.0-ndb
RUN="daily-basic daily-devel"
conf=autotest.conf
+LOCK=$HOME/.autotest-lock
############################
# Read command line entries#
@@ -66,7 +67,7 @@ done
if [ -f $conf ]
then
- . ./$conf
+ . $conf
else
echo "Can't find config file: $conf"
exit
@@ -105,7 +106,6 @@ fi
# Setup the clone source location #
####################################
-LOCK=$HOME/.autotest-lock
src_clone=$src_clone_base-$clone
#######################################
@@ -389,7 +389,8 @@ do
awk '{for(i=1;i<='$count';i++)print $i;}'`
echo $run_hosts >> /tmp/filter_hosts.$$
- choose $conf $run_hosts > d.tmp
+ choose $conf $run_hosts > d.tmp.$$
+ sed -e s,CHOOSE_dir,"$install_dir",g < d.tmp.$$ > d.tmp
$mkconfig d.tmp
fi