diff options
author | magnus@neptunus.(none) <> | 2004-04-30 12:49:34 +0200 |
---|---|---|
committer | magnus@neptunus.(none) <> | 2004-04-30 12:49:34 +0200 |
commit | d4ee7e7e9b7b6add5e540c191370d142cae6b383 (patch) | |
tree | ad09075b6dafb91d3d3af998d94d1b5fe09703a2 /mysql-test/ndb | |
parent | 122bff324026e2797844bd2c22db84b980aa4a12 (diff) | |
download | mariadb-git-d4ee7e7e9b7b6add5e540c191370d142cae6b383.tar.gz |
Addded test files for NDB
Updated stop_ndbcluster script
Diffstat (limited to 'mysql-test/ndb')
-rwxr-xr-x | mysql-test/ndb/stop_ndbcluster | 13 |
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 |