summaryrefslogtreecommitdiff
path: root/mysql-test/misc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/misc')
-rw-r--r--mysql-test/misc/kill_master.sh17
-rw-r--r--mysql-test/misc/mysql-test_V1.9.pl18
2 files changed, 35 insertions, 0 deletions
diff --git a/mysql-test/misc/kill_master.sh b/mysql-test/misc/kill_master.sh
index 7938c9d3ac2..d272212052e 100644
--- a/mysql-test/misc/kill_master.sh
+++ b/mysql-test/misc/kill_master.sh
@@ -1,3 +1,20 @@
+# Copyright (C) 2004 MySQL AB
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; version 2
+# of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA
+
kill -9 `cat var/run/master.pid`
# The kill may fail if process has already gone away,
# so don't use the exit code of the kill. Use 0.
diff --git a/mysql-test/misc/mysql-test_V1.9.pl b/mysql-test/misc/mysql-test_V1.9.pl
index 129ec41b4d5..31d12b44613 100644
--- a/mysql-test/misc/mysql-test_V1.9.pl
+++ b/mysql-test/misc/mysql-test_V1.9.pl
@@ -1,4 +1,22 @@
#!/usr/bin/perl
+
+# Copyright (C) 2000 MySQL AB
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; version 2
+# of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA
+
#
# Tests MySQL. Output is given to the stderr. Use
# diff to check the possible differencies.