summaryrefslogtreecommitdiff
path: root/mysql-test/ndb
diff options
context:
space:
mode:
authormagnus@neptunus.(none) <>2004-04-30 12:49:34 +0200
committermagnus@neptunus.(none) <>2004-04-30 12:49:34 +0200
commitd4ee7e7e9b7b6add5e540c191370d142cae6b383 (patch)
treead09075b6dafb91d3d3af998d94d1b5fe09703a2 /mysql-test/ndb
parent122bff324026e2797844bd2c22db84b980aa4a12 (diff)
downloadmariadb-git-d4ee7e7e9b7b6add5e540c191370d142cae6b383.tar.gz
Addded test files for NDB
Updated stop_ndbcluster script
Diffstat (limited to 'mysql-test/ndb')
-rwxr-xr-xmysql-test/ndb/stop_ndbcluster13
1 files changed, 8 insertions, 5 deletions
diff --git a/mysql-test/ndb/stop_ndbcluster b/mysql-test/ndb/stop_ndbcluster
index 09e22cf69c4..e1a98f1de07 100755
--- a/mysql-test/ndb/stop_ndbcluster
+++ b/mysql-test/ndb/stop_ndbcluster
@@ -22,9 +22,9 @@ done
stop_default_ndbcluster() {
-if [ ! -f $pidfile ] ; then
- exit 0
-fi
+#if [ ! -f $pidfile ] ; then
+# exit 0
+#fi
if [ ! -f $cfgfile ] ; then
echo "$cfgfile missing"
@@ -43,8 +43,11 @@ echo "all stop" | $exec_mgmtclient
sleep 5
-kill `cat $pidfile`
-rm $pidfile
+if [ -f $pidfile ] ; then
+ kill `cat $pidfile`
+ rm $pidfile
+fi
+
}
stop_default_ndbcluster