From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-362148-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QgoyD-00022m-EB
	for garchives@archives.gentoo.org; Wed, 13 Jul 2011 02:14:38 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E5E8C21C19B;
	Wed, 13 Jul 2011 02:14:24 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 96DE421C193
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2011 02:14:24 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E969D2AC0B4
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2011 02:14:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 5CC128003F
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Jul 2011 02:14:23 +0000 (UTC)
From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
Message-ID: <11973ccbc7a7da3e868597fb237155822b710342.jmbsvicetto@gentoo>
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
X-VCS-Repository: proj/mysql
X-VCS-Files: dev-db/mysql/Manifest dev-db/mysql/mysql-5.1.58.ebuild
X-VCS-Directories: dev-db/mysql/
X-VCS-Committer: jmbsvicetto
X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto
X-VCS-Revision: 11973ccbc7a7da3e868597fb237155822b710342
Date: Wed, 13 Jul 2011 02:14:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: badbbf5303631209a76f758861b647b7

commit:     11973ccbc7a7da3e868597fb237155822b710342
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> ge=
ntoo <DOT> org>
AuthorDate: Wed Jul 13 02:12:10 2011 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org=
>
CommitDate: Wed Jul 13 02:12:10 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D=
commit;h=3D11973ccb

[dev-db/mysql] 5.1.58 version bump.

(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit =
with key BB0E6E98)

---
 dev-db/mysql/Manifest            |   28 ++--
 dev-db/mysql/mysql-5.1.58.ebuild |  261 ++++++++++++++++++++++++++++++++=
++++++
 2 files changed, 276 insertions(+), 13 deletions(-)

diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
index b7c4cb4..c083699 100644
--- a/dev-db/mysql/Manifest
+++ b/dev-db/mysql/Manifest
@@ -9,6 +9,7 @@ AUX mysql.init 886 RMD160 26b8aa45af3f930db01f0db731865b9=
293626fb1 SHA1 d7d99a3f
 DIST mysql-5.0.92.tar.gz 22440590 RMD160 24a373a1b124acf39d0c0726e5cb6f4=
7dc1bef08 SHA1 10fffc7672a469af4a7fd980922b04d7ba0143ba SHA256 223530c4cd=
6d45e2906e6c7d33615c5824816dfdb772d104f4165a483ea78a55
 DIST mysql-5.1.56.tar.gz 24795624 RMD160 c2ff6eb06d0797d4b56630b783d4ad2=
d1add1422 SHA1 8665c76ab4ab36e8d2379ddf6d678c89b95d9321 SHA256 930e731c8f=
9318aa3f5e2e6985f6776aaaec81cd32df310e79e73d87177f6613
 DIST mysql-5.1.57.tar.gz 23660514 RMD160 9ca7f79d14525fef2c1badf8410fecd=
238ee283e SHA1 fcfe037ee6cfd53fe336ef12854e79481bdc6681 SHA256 7944fa5647=
6f44173af4c91ad685a9da5e9d5fa9dea69dafb4b9919df3f3667d
+DIST mysql-5.1.58.tar.gz 24333490 RMD160 199729c701c764cd22584c2b952230c=
07d0f31a6 SHA1 cfd70bee07ad99576eecde01785b7b2a74ec87ab SHA256 3c69562399=
655fc62d1424437e6ef59ef7c1ed225f940f81558f549b803f3fd7
 DIST mysql-5.5.10.tar.gz 23877968 RMD160 7f190513e38bbbcac21291e226de87b=
3b95a1ba4 SHA1 7e0b426d7a9ef0eaa6e2b2ea3e5fef1e1a078c5d SHA256 f4a0dae6d2=
626705ccede5126f2a3d45700195cb2568537c8b18bf1b604315a5
 DIST mysql-5.5.12.tar.gz 23681636 RMD160 e36d6a29e4f92eecfbbdac47d9f0d9a=
427446da3 SHA1 8a4f4c2b762676140722d414d694cddd9c1e3397 SHA256 ed99dee589=
3f8502c909dfc4f55447f0ab9b7ae23fd6df53e31067d25f5088fc
 DIST mysql-5.5.13.tar.gz 23709591 RMD160 5e249f533be51a8cb6d777edf630ecd=
82f5e68a0 SHA1 ccfb58c87e045e6679b442c6230cac222e73f740 SHA256 f05c5df8c5=
3f85b094f415298eb8a7969e403604abc5a3b18ddd0e70e8b1d936
@@ -20,6 +21,7 @@ EBUILD mysql-5.0.92.ebuild 6584 RMD160 2bd8c049fca18eb0=
4f3e641018824d714926ed65
 EBUILD mysql-5.1.56-r1.ebuild 8656 RMD160 1a6373b692f1d05d43e9762cc31cec=
be3af47cb2 SHA1 cc4854bf71a9a9f9d45c92bdeffbe03f8e50cdff SHA256 2b0ce97fb=
aabab178a578db4656d5d6286a90259bd25de17bdd3c483ef5a2892
 EBUILD mysql-5.1.56.ebuild 8650 RMD160 fdc41e801bdeedaebe03d966a81770738=
eeb3729 SHA1 da50c1ec2b881b0e9916fc32259cd466910377fc SHA256 0babf53aa040=
c4668a0acdca3246b55b6bfa078c25098507f44624fa73d11e16
 EBUILD mysql-5.1.57.ebuild 8664 RMD160 ef5e19caa8dfdf04f82ca9aa6aa48d417=
e37d1ae SHA1 784c4f03a87e72255b2aaa2d9332ed8601824aa0 SHA256 3f5e7f58893b=
e3cb5f997be4681a713c194e026b8cc53e5d6ab9878cc62d1219
+EBUILD mysql-5.1.58.ebuild 8664 RMD160 ef5e19caa8dfdf04f82ca9aa6aa48d417=
e37d1ae SHA1 784c4f03a87e72255b2aaa2d9332ed8601824aa0 SHA256 3f5e7f58893b=
e3cb5f997be4681a713c194e026b8cc53e5d6ab9878cc62d1219
 EBUILD mysql-5.5.10.ebuild 3851 RMD160 be21bf4d77fd21dca965794d899c04f83=
607cfe7 SHA1 dcd690b860a3b6a8e06f8327af92c22cd90fc5b7 SHA256 0dbb68e63c8b=
7ecfeb24449030b38076df495bc3e3878674c5f6f9fe5a7e254b
 EBUILD mysql-5.5.12.ebuild 3851 RMD160 be21bf4d77fd21dca965794d899c04f83=
607cfe7 SHA1 dcd690b860a3b6a8e06f8327af92c22cd90fc5b7 SHA256 0dbb68e63c8b=
7ecfeb24449030b38076df495bc3e3878674c5f6f9fe5a7e254b
 EBUILD mysql-5.5.13.ebuild 3909 RMD160 4b336f52f648a079c39b6602bcb4fbb3b=
3bd7b77 SHA1 5278dfe3d80a9a10c37dc0c2232aef7559eda27d SHA256 95f321d2c7f8=
627c49013ebba62a96ffcb3a89dce4b396d69b55680ced13b602
@@ -30,17 +32,17 @@ MISC metadata.xml 1144 RMD160 2e8b432149e8467becaf1e5=
2884437a80d31673d SHA1 b516
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
=20
-iQIcBAEBCgAGBQJOHD4BAAoJEC8ZTXQF1qEPX0wQAIynkss/6iT2dR3pQE+6XS2n
-bodTq63ThaN6ubeo6+K2NX7d8Ed+iegTL5BwSXOkIApxd16jfFhXTVBcW6zjJOYf
-+9xZVddl0GAPqR7EX3NMSQfS+KG1d0TUge0DSNU0dKmYxLr6BEpJdoOB+1QAB2Bd
-yOlet7mVRQQJtfdjQx+X+qNsSQunKQQ0EOvszr9Na6lsQtMw2zB7bA8tLG4W940g
-pa8qTNjk6A0NDbhICNAOwoWsct7euoBPA1+f/2kHKjAbD7zwt1CO1jkE8GbJOqSc
-Q3a33KjEKBfc71+mWw9ae6ZQeyk+NCZRgR2df3dH20gXiLRitsckJUgvDrYvbfnW
-4j0ZaAtjt6q2nGAijJ8uY37acgOeYFZ7MWtiXIAyYvl/4uaBPMkd+xD9GcH2Wsgl
-fkCJEZrSRpefI2Nc1skr8wBmTYiQZDz0X4IB3J0bdw8E73HATAQeX/gX/Cl9d/kP
-Thu9zsFDaNn5d96tg4p8Q5Pci2Ryr+y0tuirw08YjSdLa2daMgSEWNWGSyQxFzZQ
-tRIUYCQjBROc+EjJrifl3uumbmfH+9vuV7U9iLAKp6iMdxOC0rLgINtcgUPhdp5x
-KDMmL0U8ni418nOcvQk6KijzF3xVdQ3iQ+hBhAun81zGQ5+T7khFJsEqAEkgIq+l
-nx8DBQj9gf/ECcxFB1qT
-=3DoKrh
+iQIcBAEBCgAGBQJOHP76AAoJEC8ZTXQF1qEP0a0P/2+Db0ViAl8wu17jOVnOpDxn
+Ys4YdzbUT/qW89SYkmsN960gRBxmTA4PSepYsIZeZ7Z2dp4xQm/muZ+ROKDXEbV/
+zhbKxwgZEOksS2XZVSPSpVybXeyERQqQsmTtbcGkjnr5Ht92Um6v3k8UcjJP2NP/
+viO0brB1EG09znQ7BrUZqxItTYTEngewowEny6XAeCMMCWzXpGNgFL770EyfWv5t
+JBmflu2XyzSnsAm1bTq56hVpWfbQBrXPaKvgZ/zFCO0DAoXNgBH8/6npfv6pfEZ7
+AWNK+DoHf/rcagiU0LtFlr5JjVeTBjOsgHolbpOGOr+JCW2MoQQ0H7wvKJXQX5m+
+VNA/HTOfYLGEjfeWsqkeb0fHstwK8D8+/mwflvBt6SWnuWccTYpcP0WMPXWi7NNg
+3vaHmB7Bi+/kFinHIi0BthVwjC4iPBmlAxxVxSmCgEe7marzKuE+0mXnNyh2giA3
+F2A0fka44yT5cii+N1hyMNjmRLRVgY8pZd6hwy35K5Ob6CFS9d7VY2T1SJXJl8y/
+dyDbJBIPObUAx9q6Tu4nUxjUn0+VC3cHfYnG4/+AEb++nlB2qvRucTMirXrYEJrB
+kghT50WYVNy0tjI6aXU2D15XVGbG9D6CJoG/WdSnW0W8AUZmwvzARlmUQ3afjbgF
+dYq5NsanDYv38h3bmxVe
+=3D3neh
 -----END PGP SIGNATURE-----

diff --git a/dev-db/mysql/mysql-5.1.58.ebuild b/dev-db/mysql/mysql-5.1.58=
.ebuild
new file mode 100644
index 0000000..1f72a5b
--- /dev/null
+++ b/dev-db/mysql/mysql-5.1.58.ebuild
@@ -0,0 +1,261 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.56.ebuild,v 1.=
4 2011/05/08 22:07:33 hwoarang Exp $
+
+EAPI=3D"2"
+
+MY_EXTRAS_VER=3D"live"
+# PBXT
+PBXT_VERSION=3D'1.0.11-6-pre-ga'
+# XtraDB
+PERCONA_VER=3D'5.1.45-10' XTRADB_VER=3D'1.0.6-10'
+
+# Build type
+BUILD=3D"autotools"
+
+inherit toolchain-funcs mysql-v2
+
+# only to make repoman happy. it is really set in the eclass
+IUSE=3D"$IUSE"
+
+# REMEMBER: also update eclass/mysql*.eclass before committing!
+KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~=
sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-solaris"
+
+# When MY_EXTRAS is bumped, the index should be revised to exclude these=
.
+# This is often broken still
+EPATCH_EXCLUDE=3D''
+
+# Most of these are in the eclass
+DEPEND=3D"|| ( >=3Dsys-devel/gcc-3.4.6 >=3Dsys-devel/gcc-apple-4.0 )
+		>=3Dsys-devel/libtool-2.2.10"
+RDEPEND=3D"${RDEPEND}"
+
+# Please do not add a naive src_unpack to this ebuild
+# If you want to add a single patch, copy the ebuild to an overlay
+# and create your own mysql-extras tarball, looking at 000_index.txt
+src_prepare() {
+	sed -i \
+		-e '/^noinst_PROGRAMS/s/basic-t//g' \
+		"${S}"/unittest/mytap/t/Makefile.am
+	mysql_src_prepare
+}
+
+# Official test instructions:
+# USE=3D'berkdb -cluster embedded extraengine perl ssl community' \
+# FEATURES=3D'test userpriv -usersandbox' \
+# ebuild mysql-X.X.XX.ebuild \
+# digest clean package
+src_test() {
+	# Bug #213475 - MySQL _will_ object strenously if your machine is named
+	# localhost. Also causes weird failures.
+	[[ "${HOSTNAME}" =3D=3D "localhost" ]] && die "Your machine must NOT be=
 named localhost"
+
+	emake check || die "make check failed"
+	if ! use "minimal" ; then
+		if [[ $UID -eq 0 ]]; then
+			die "Testing with FEATURES=3D-userpriv is no longer supported by upst=
ream. Tests MUST be run as non-root."
+		fi
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=
=3Dusersandbox"
+		cd "${S}"
+		einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
+		local retstatus_unit
+		local retstatus_ns
+		local retstatus_ps
+		local t
+		addpredict /this-dir-does-not-exist/t9.MYI
+
+		# Ensure that parallel runs don't die
+		export MTR_BUILD_THREAD=3D"$((${RANDOM} % 100))"
+
+		# archive_gis really sucks a lot, but it's only relevant for the
+		# USE=3Dextraengines case
+		case ${PV} in
+			5.0.42)
+			mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
+			;;
+
+			5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
+			[ "$(tc-endian)" =3D=3D "big" ] && \
+			mysql_disable_test \
+				"archive_gis" \
+				"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
+			;;
+		esac
+
+		# This was a slight testcase breakage when the read_only security issu=
e
+		# was fixed.
+		case ${PV} in
+			5.0.54|5.0.51*)
+			mysql_disable_test \
+				"read_only" \
+				"Broken in 5.0.51-54, output in wrong order"
+			;;
+		esac
+
+		# Ditto to read_only
+		[ "${PV}" =3D=3D "5.0.51a" ] && \
+			mysql_disable_test \
+				"view" \
+				"Broken in 5.0.51, output in wrong order"
+
+		# x86-specific, OOM issue with some subselects on low memory servers
+		[ "${PV}" =3D=3D "5.0.54" ] && \
+			[ "${ARCH/x86}" !=3D "${ARCH}" ] && \
+			mysql_disable_test \
+				"subselect" \
+				"Testcase needs tuning on x86 for oom condition"
+
+		# Broke with the YaSSL security issue that didn't affect Gentoo.
+		[ "${PV}" =3D=3D "5.0.56" ] && \
+			for t in openssl_1 rpl_openssl rpl_ssl ssl \
+				ssl_8k_key ssl_compress ssl_connect ; do \
+				mysql_disable_test \
+					"$t" \
+					"OpenSSL tests broken on 5.0.56"
+			done
+
+		# New test was broken in first time
+		# Upstream bug 41066
+		# http://bugs.mysql.com/bug.php?id=3D41066
+		[ "${PV}" =3D=3D "5.0.72" ] && \
+			mysql_disable_test \
+				"status2" \
+				"Broken in 5.0.72, new test is broken, upstream bug #41066"
+
+		# The entire 5.0 series has pre-generated SSL certificates, they have
+		# mostly expired now. ${S}/mysql-tests/std-data/*.pem
+		# The certs really SHOULD be generated for the tests, so that they are
+		# not expiring like this. We cannot do so ourselves as the tests look
+		# closely as the cert path data, and we do not have the CA key to rege=
n
+		# ourselves. Alternatively, upstream should generate them with at leas=
t
+		# 50-year validity.
+		#
+		# Known expiry points:
+		# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
+		# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
+		# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
+		#
+		# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
+		# expired/invalid.
+		case ${PV} in
+			5.0.*|5.1.*|5.4.*|5.5.*)
+				for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_k=
ey \
+					ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
+					mysql_disable_test \
+						"$t" \
+						"These OpenSSL tests break due to expired certificates"
+				done
+			;;
+		esac
+
+		# These are also failing in MySQL 5.1 for now, and are believed to be
+		# false positives:
+		#
+		# main.mysql_comment, main.mysql_upgrade, main.information_schema,
+		# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers=
:
+		# fails due to USE=3D-latin1 / utf8 default
+		#
+		# main.mysql_client_test:
+		# segfaults at random under Portage only, suspect resource limits.
+		#
+		# main.not_partition:
+		# Failure reason unknown at this time, must resolve before package.mas=
k
+		# removal FIXME
+		case ${PV} in
+			5.1.*|5.4.*|5.5.*)
+			for t in main.mysql_client_test main.mysql_comments \
+				main.mysql_upgrade  \
+				main.information_schema \
+				main.not_partition funcs_1.is_columns_mysql \
+				funcs_1.is_tables_mysql funcs_1.is_triggers; do
+				mysql_disable_test  "$t" "False positives in Gentoo"
+			done
+			;;
+		esac
+
+		# New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
+		# These tests are picking up a 'connect-timeout' config from somewhere=
,
+		# which is not valid, and since it does not have 'loose-' in front of
+		# it, it's causing a failure
+		case ${PV} in
+			5.1.5*|5.4.*|5.5.*|6*)
+			for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
+				mysql_disable_test  "$t" \
+					"False positives in Gentoo: connect-timeout"
+			done
+			;;
+		esac
+
+		use profiling && use community \
+		|| mysql_disable_test main.profiling \
+			"Profiling test needs profiling support"
+
+		if [ "${PN}" =3D=3D "mariadb" ]; then
+			for t in \
+				parts.part_supported_sql_func_ndb \
+				parts.partition_auto_increment_ndb ; do
+					mysql_disable_test $t "ndb not supported in mariadb"
+			done
+		fi
+
+		# This fail with XtraDB in place of normal InnoDB
+		# TODO: test if they are broken with the rest of the Percona patches
+		if xtradb_patch_available && use xtradb ; then
+			for t in main.innodb innodb.innodb_bug51378 \
+				main.information_schema_db main.mysqlshow \
+				main.innodb-autoinc main.innodb_bug21704 \
+				main.innodb_bug44369 main.innodb_bug46000 \
+				main.index_merge_innodb \
+				innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
+				innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
+				innodb.innodb_bug21704 innodb.innodb_bug44369 \
+				innodb.innodb_bug46000 innodb.innodb_bug48024 \
+				innodb.innodb_bug49164 innodb.innodb_bug51920 \
+				innodb.innodb_bug54044 \
+				; do
+					mysql_disable_test $t "tests broken in xtradb"
+			done
+		fi
+
+		# bug 332565
+		if ! use extraengine ; then
+			for t in main.range ; do
+				mysql_disable_test $t "Test $t requires USE=3Dextraengine"
+			done
+		fi
+
+		# create directories because mysqladmin might make out of order
+		mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
+
+		# We run the test protocols seperately
+		emake test-unit
+		retstatus_unit=3D$?
+		[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
+
+		emake test-ns force=3D"--force --vardir=3D${S}/mysql-test/var-ns"
+		retstatus_ns=3D$?
+		[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=
=3Dusersandbox"
+
+		emake test-ps force=3D"--force --vardir=3D${S}/mysql-test/var-ps"
+		retstatus_ps=3D$?
+		[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=
=3Dusersandbox"
+
+		# TODO:
+		# When upstream enables the pr and nr testsuites, we need those as wel=
l.
+
+		# Cleanup is important for these testcases.
+		pkill -9 -f "${S}/ndb" 2>/dev/null
+		pkill -9 -f "${S}/sql" 2>/dev/null
+		failures=3D""
+		[[ $retstatus_unit -eq 0 ]] || failures=3D"${failures} test-unit"
+		[[ $retstatus_ns -eq 0 ]] || failures=3D"${failures} test-ns"
+		[[ $retstatus_ps -eq 0 ]] || failures=3D"${failures} test-ps"
+		has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=
=3Dusersandbox"
+		[[ -z "$failures" ]] || die "Test failures: $failures"
+		einfo "Tests successfully completed"
+	else
+		einfo "Skipping server tests due to minimal build."
+	fi
+}