summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorFrancesco Riosa <vivo@gentoo.org>2007-01-05 12:03:30 +0000
committerFrancesco Riosa <vivo@gentoo.org>2007-01-05 12:03:30 +0000
commit79ec52ba88330a83beddd460526e09659fa53475 (patch)
tree0000825af9a42cd25e2c145d4eea929413bf8397 /dev-db
parentforce revision bump, needed to fix/discover bugs introuduced during last work... (diff)
downloadgentoo-2-79ec52ba88330a83beddd460526e09659fa53475.tar.gz
gentoo-2-79ec52ba88330a83beddd460526e09659fa53475.tar.bz2
gentoo-2-79ec52ba88330a83beddd460526e09659fa53475.zip
force revision bump, needed to fix/discover bugs introuduced during last working days.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql/ChangeLog20
-rw-r--r--dev-db/mysql/files/digest-mysql-4.0.27-r16
-rw-r--r--dev-db/mysql/files/digest-mysql-4.1.22-r16
-rw-r--r--dev-db/mysql/files/digest-mysql-4.1.23_alpha20070101-r616
-rw-r--r--dev-db/mysql/files/digest-mysql-5.0.26-r26
-rw-r--r--dev-db/mysql/files/digest-mysql-5.0.30-r16
-rw-r--r--dev-db/mysql/files/digest-mysql-5.0.34_alpha20070101-r616
-rw-r--r--dev-db/mysql/mysql-4.0.27-r1.ebuild34
-rw-r--r--dev-db/mysql/mysql-4.1.22-r1.ebuild43
-rw-r--r--dev-db/mysql/mysql-4.1.23_alpha20070101-r61.ebuild42
-rw-r--r--dev-db/mysql/mysql-5.0.26-r2.ebuild58
-rw-r--r--dev-db/mysql/mysql-5.0.30-r1.ebuild58
-rw-r--r--dev-db/mysql/mysql-5.0.34_alpha20070101-r61.ebuild75
13 files changed, 365 insertions, 1 deletions
diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog
index 9f15a6df30ff..20b74e5c9cb9 100644
--- a/dev-db/mysql/ChangeLog
+++ b/dev-db/mysql/ChangeLog
@@ -1,6 +1,24 @@
# ChangeLog for dev-db/mysql
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.383 2007/01/05 00:17:35 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.384 2007/01/05 12:03:30 vivo Exp $
+
+*mysql-5.0.34_alpha20070101-r61 (05 Jan 2007)
+*mysql-5.0.30-r1 (05 Jan 2007)
+*mysql-5.0.26-r2 (05 Jan 2007)
+*mysql-4.1.23_alpha20070101-r61 (05 Jan 2007)
+*mysql-4.1.22-r1 (05 Jan 2007)
+*mysql-4.0.27-r1 (05 Jan 2007)
+
+ 05 Jan 2007; Francesco Riosa <vivo@gentoo.org> -files/mysql.conf.d,
+ -files/mysql.rc6, -files/mysqlmanager.conf.d, -files/mysqlmanager.rc6,
+ -mysql-4.0.27.ebuild, +mysql-4.0.27-r1.ebuild, -mysql-4.1.22.ebuild,
+ +mysql-4.1.22-r1.ebuild, -mysql-4.1.23_alpha20070101-r60.ebuild,
+ +mysql-4.1.23_alpha20070101-r61.ebuild, -mysql-5.0.26-r1.ebuild,
+ +mysql-5.0.26-r2.ebuild, -mysql-5.0.30.ebuild, +mysql-5.0.30-r1.ebuild,
+ -mysql-5.0.34_alpha20070101-r60.ebuild,
+ +mysql-5.0.34_alpha20070101-r61.ebuild:
+ force revision bump, needed to fix/discover bugs introuduced during last
+ working days.
05 Jan 2007; Francesco Riosa <vivo@gentoo.org> mysql-4.0.25-r2.ebuild,
mysql-4.0.27.ebuild, mysql-4.1.21.ebuild, mysql-4.1.22.ebuild,
diff --git a/dev-db/mysql/files/digest-mysql-4.0.27-r1 b/dev-db/mysql/files/digest-mysql-4.0.27-r1
new file mode 100644
index 000000000000..247f57139a27
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-4.0.27-r1
@@ -0,0 +1,6 @@
+MD5 315f88a902c59e230212b3ccf137f92f mysql-4.0.27.tar.gz 11152643
+RMD160 00cf895eab192e3e0ab526587ccab3e81c6c9070 mysql-4.0.27.tar.gz 11152643
+SHA256 c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f mysql-4.0.27.tar.gz 11152643
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/files/digest-mysql-4.1.22-r1 b/dev-db/mysql/files/digest-mysql-4.1.22-r1
new file mode 100644
index 000000000000..fded0f270d15
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-4.1.22-r1
@@ -0,0 +1,6 @@
+MD5 37b4479951fa0cf052269d27c41ca200 mysql-4.1.22.tar.gz 17761101
+RMD160 bfcf5058e4247cf4d7d1550ea54c64ebc8bc615e mysql-4.1.22.tar.gz 17761101
+SHA256 6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9 mysql-4.1.22.tar.gz 17761101
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/files/digest-mysql-4.1.23_alpha20070101-r61 b/dev-db/mysql/files/digest-mysql-4.1.23_alpha20070101-r61
new file mode 100644
index 000000000000..30c2774d28da
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-4.1.23_alpha20070101-r61
@@ -0,0 +1,6 @@
+MD5 8e70436fc96eec966d0cf088e915e7ba mysql-4.1.23-bk-20070101.tar.bz2 12171000
+RMD160 3e7abcb4665b55bfe74305484b963a4d1d239a4f mysql-4.1.23-bk-20070101.tar.bz2 12171000
+SHA256 65cd010a75c6bfc006cc3095623edf2d106f0af03154f24bc4fbf711ad2b98ef mysql-4.1.23-bk-20070101.tar.bz2 12171000
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/files/digest-mysql-5.0.26-r2 b/dev-db/mysql/files/digest-mysql-5.0.26-r2
new file mode 100644
index 000000000000..0d2551dfad04
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-5.0.26-r2
@@ -0,0 +1,6 @@
+MD5 63ec8afeaf202c435b12d112f5ce7857 mysql-5.0.26.tar.gz 25986952
+RMD160 98ee85457de4bc8c8f8acddc8b6f0dc7687f32c7 mysql-5.0.26.tar.gz 25986952
+SHA256 4266fe6a3593700d4157b8cc4278fa8ae98837d4757735fc6ed70d9df6bb2680 mysql-5.0.26.tar.gz 25986952
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/files/digest-mysql-5.0.30-r1 b/dev-db/mysql/files/digest-mysql-5.0.30-r1
new file mode 100644
index 000000000000..5cea93b765d9
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-5.0.30-r1
@@ -0,0 +1,6 @@
+MD5 164b1e145155318f9904967715492f94 mysql-5.0.30.tar.gz 26139291
+RMD160 a26c3ecb4db22010c6dec66be15d73a274de73eb mysql-5.0.30.tar.gz 26139291
+SHA256 7d8deb0d829e1298b345900c58814750ee3d642653aab47ec65c8dfe07bca8a0 mysql-5.0.30.tar.gz 26139291
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/files/digest-mysql-5.0.34_alpha20070101-r61 b/dev-db/mysql/files/digest-mysql-5.0.34_alpha20070101-r61
new file mode 100644
index 000000000000..c4bd2a971e28
--- /dev/null
+++ b/dev-db/mysql/files/digest-mysql-5.0.34_alpha20070101-r61
@@ -0,0 +1,6 @@
+MD5 37b3967f2b54bdb8eee00c3c65adf69b mysql-5.0.34-bk-20070101.tar.bz2 14431547
+RMD160 aab9ce10073c7a70585d041e475b575185e77fb6 mysql-5.0.34-bk-20070101.tar.bz2 14431547
+SHA256 c81687985203537acee8ccfbb4be4cd1dd764c1ac67ebdbb46b3ef00931b243b mysql-5.0.34-bk-20070101.tar.bz2 14431547
+MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005
+RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005
+SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005
diff --git a/dev-db/mysql/mysql-4.0.27-r1.ebuild b/dev-db/mysql/mysql-4.0.27-r1.ebuild
new file mode 100644
index 000000000000..0ced8a8128e6
--- /dev/null
+++ b/dev-db/mysql/mysql-4.0.27-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.0.27-r1.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="20070105"
+SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+
+src_test() {
+ cd "${S}"
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ cd mysql-test
+ sed -i -e "s|PORT=3306|PORT=3307|g" mysql-test-run
+ ./mysql-test-run
+ retstatus=$?
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "make test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
diff --git a/dev-db/mysql/mysql-4.1.22-r1.ebuild b/dev-db/mysql/mysql-4.1.22-r1.ebuild
new file mode 100644
index 000000000000..1f35ca613624
--- /dev/null
+++ b/dev-db/mysql/mysql-4.1.22-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.1.22-r1.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="20070105"
+SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+
+src_test() {
+ cd "${S}"
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ local testopts="--force"
+
+ # sandbox make ndbd zombie
+ hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb"
+
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ cd mysql-test
+ sed -i -e "s|3306|3307|g" mysql-test-run.pl
+
+ # from Makefile.am:
+ retstatus=1
+ ./mysql-test-run.pl ${testopts} \
+ && ./mysql-test-run.pl ${testopts} --ps-protocol \
+ && retstatus=0
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
diff --git a/dev-db/mysql/mysql-4.1.23_alpha20070101-r61.ebuild b/dev-db/mysql/mysql-4.1.23_alpha20070101-r61.ebuild
new file mode 100644
index 000000000000..a23ae69d8fa0
--- /dev/null
+++ b/dev-db/mysql/mysql-4.1.23_alpha20070101-r61.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.1.23_alpha20070101-r61.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="latest"
+SERVER_URI="mirror://gentoo/MySQL-${PV%.*}/mysql-${PV//_alpha/-bk-}.tar.bz2"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="testing"
+
+src_test() {
+ cd "${S}"
+ einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ local testopts="--force"
+
+ # sandbox make ndbd zombie
+ hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb"
+
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ cd mysql-test
+
+ # from Makefile.am:
+ retstatus=1
+ ./mysql-test-run.pl ${testopts} \
+ && ./mysql-test-run.pl ${testopts} --ps-protocol \
+ && retstatus=0
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
diff --git a/dev-db/mysql/mysql-5.0.26-r2.ebuild b/dev-db/mysql/mysql-5.0.26-r2.ebuild
new file mode 100644
index 000000000000..a179b4325d28
--- /dev/null
+++ b/dev-db/mysql/mysql-5.0.26-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.26-r2.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="20070105"
+SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+
+src_test() {
+
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ cd "${S}"
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ local t
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ # mysqladmin start before dir creation
+ mkdir mysql-test/var{,/log}
+
+ if [[ ${UID} -eq 0 ]] ; then
+ mysql_disable_test "im_daemon_life_cycle" "fail as root"
+ mysql_disable_test "im_life_cycle" "fail as root"
+ mysql_disable_test "im_options_set" "fail as root"
+ mysql_disable_test "im_options_unset" "fail as root"
+ mysql_disable_test "im_utils" "fail as root"
+ fi
+
+ for t in \
+ loaddata_autocom_ndb \
+ ndb_{alter_table{,2},autodiscover{,2,3},basic,bitfield,blob} \
+ ndb_{cache{,2},cache_multi{,2},charset,condition_pushdown,config} \
+ ndb_{database,gis,index,index_ordered,index_unique,insert,limit} \
+ ndb_{loaddatalocal,lock,minmax,multi,read_multi_range,rename,replace} \
+ ndb_{restore,subquery,transaction,trigger,truncate,types,update} \
+ ps_7ndb rpl_ndb_innodb_trans strict_autoinc_5ndb
+ do
+ mysql_disable_test "${t}" "fail in sandbox"
+ done
+
+ useq "extraengine" && mysql_disable_test "federated" "fail with extraengine"
+
+ make test-force-pl
+ retstatus=$?
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "make test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
diff --git a/dev-db/mysql/mysql-5.0.30-r1.ebuild b/dev-db/mysql/mysql-5.0.30-r1.ebuild
new file mode 100644
index 000000000000..aef97e885b1c
--- /dev/null
+++ b/dev-db/mysql/mysql-5.0.30-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.30-r1.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="20070105"
+SERVER_URI="ftp://ftp.mysql.com/pub/mysql/src/mysql-${PV//_/-}.tar.gz"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+
+src_test() {
+
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ cd "${S}"
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ local t
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ # mysqladmin start before dir creation
+ mkdir mysql-test/var{,/log}
+
+ if [[ ${UID} -eq 0 ]] ; then
+ mysql_disable_test "im_daemon_life_cycle" "fail as root"
+ mysql_disable_test "im_life_cycle" "fail as root"
+ mysql_disable_test "im_options_set" "fail as root"
+ mysql_disable_test "im_options_unset" "fail as root"
+ mysql_disable_test "im_utils" "fail as root"
+ fi
+
+ for t in \
+ loaddata_autocom_ndb \
+ ndb_{alter_table{,2},autodiscover{,2,3},basic,bitfield,blob} \
+ ndb_{cache{,2},cache_multi{,2},charset,condition_pushdown,config} \
+ ndb_{database,gis,index,index_ordered,index_unique,insert,limit} \
+ ndb_{loaddatalocal,lock,minmax,multi,read_multi_range,rename,replace} \
+ ndb_{restore,subquery,transaction,trigger,truncate,types,update} \
+ ps_7ndb rpl_ndb_innodb_trans strict_autoinc_5ndb
+ do
+ mysql_disable_test "${t}" "fail in sandbox"
+ done
+
+ useq "extraengine" && mysql_disable_test "federated" "fail with extraengine"
+
+ make test-force-pl
+ retstatus=$?
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "make test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}
diff --git a/dev-db/mysql/mysql-5.0.34_alpha20070101-r61.ebuild b/dev-db/mysql/mysql-5.0.34_alpha20070101-r61.ebuild
new file mode 100644
index 000000000000..19320ecaf686
--- /dev/null
+++ b/dev-db/mysql/mysql-5.0.34_alpha20070101-r61.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.34_alpha20070101-r61.ebuild,v 1.1 2007/01/05 12:03:30 vivo Exp $
+
+MY_EXTRAS_VER="latest"
+SERVER_URI="mirror://gentoo/MySQL-${PV%.*}/mysql-${PV//_alpha/-bk-}.tar.bz2"
+
+inherit mysql
+
+#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit
+KEYWORDS="testing"
+
+src_test() {
+
+ make check || die "make check failed"
+ if ! useq "minimal" ; then
+ cd "${S}/mysql-test"
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+ local retstatus
+ local t
+ local testopts="--force"
+
+ # sandbox make ndbd zombie
+ hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb"
+
+ addpredict /this-dir-does-not-exist/t9.MYI
+
+ # mysqladmin start before dir creation
+ mkdir ${S}/mysql-test/var{,/log}
+
+ if [[ ${UID} -eq 0 ]] ; then
+ mysql_disable_test "im_cmd_line" "fail as root"
+ mysql_disable_test "im_daemon_life_cycle" "fail as root"
+ mysql_disable_test "im_instance_conf" "fail as root"
+ mysql_disable_test "im_life_cycle" "fail as root"
+ mysql_disable_test "im_options" "fail as root"
+ mysql_disable_test "im_options_set" "fail as root"
+ mysql_disable_test "im_options_unset" "fail as root"
+ mysql_disable_test "im_utils" "fail as root"
+ mysql_disable_test "trigger" "fail as root"
+ fi
+
+ for t in \
+ loaddata_autocom_ndb \
+ ndb_{alter_table{,2},autodiscover{,2,3},basic,bitfield,blob} \
+ ndb_{cache{,2},cache_multi{,2},charset,condition_pushdown,config} \
+ ndb_{database,gis,index,index_ordered,index_unique,insert,limit} \
+ ndb_{loaddatalocal,lock,minmax,multi,read_multi_range,rename,replace} \
+ ndb_{restore,subquery,transaction,trigger,truncate,types,update} \
+ ps_7ndb rpl_ndb_innodb_trans strict_autoinc_5ndb
+ do
+ mysql_disable_test "${t}" "fail in sandbox"
+ done
+
+ useq "extraengine" && mysql_disable_test "federated" "fail with extraengine"
+
+ mysql_disable_test "view" "Already fixed: fail because now we are in year 2007"
+
+ for t in \
+ myisam mysql_upgrade query_cache_notembedded rpl000015 rpl000017
+ do
+ mysql_disable_test "${t}" "FIXME: Im'not supposed to fail"
+ done
+
+ make test-force
+ retstatus=$?
+
+ # Just to be sure ;)
+ pkill -9 -f "${S}/ndb" 2>/dev/null
+ pkill -9 -f "${S}/sql" 2>/dev/null
+ [[ $retstatus -eq 0 ]] || die "make test failed"
+ else
+ einfo "Skipping server tests due to minimal build."
+ fi
+}