ndb -

  some more ndb-autotest updates (previously uncommitted...but in use)
parent 8b9c7241
...@@ -13,7 +13,7 @@ save_args=$* ...@@ -13,7 +13,7 @@ save_args=$*
VERSION="ndb-autotest.sh version 1.04" VERSION="ndb-autotest.sh version 1.04"
DATE=`date '+%Y-%m-%d'` DATE=`date '+%Y-%m-%d'`
HOST=`hostname` HOST=`hostname -s`
export DATE HOST export DATE HOST
set -e set -e
...@@ -35,6 +35,7 @@ report=yes ...@@ -35,6 +35,7 @@ report=yes
clone=5.0-ndb clone=5.0-ndb
RUN="daily-basic daily-devel" RUN="daily-basic daily-devel"
conf=autotest.conf conf=autotest.conf
LOCK=$HOME/.autotest-lock
############################ ############################
# Read command line entries# # Read command line entries#
...@@ -66,7 +67,7 @@ done ...@@ -66,7 +67,7 @@ done
if [ -f $conf ] if [ -f $conf ]
then then
. ./$conf . $conf
else else
echo "Can't find config file: $conf" echo "Can't find config file: $conf"
exit exit
...@@ -105,7 +106,6 @@ fi ...@@ -105,7 +106,6 @@ fi
# Setup the clone source location # # Setup the clone source location #
#################################### ####################################
LOCK=$HOME/.autotest-lock
src_clone=$src_clone_base-$clone src_clone=$src_clone_base-$clone
####################################### #######################################
...@@ -389,7 +389,8 @@ do ...@@ -389,7 +389,8 @@ do
awk '{for(i=1;i<='$count';i++)print $i;}'` awk '{for(i=1;i<='$count';i++)print $i;}'`
echo $run_hosts >> /tmp/filter_hosts.$$ 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 $mkconfig d.tmp
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment