1 |
commit: 09e95b60c832ca49af47a019d9084f3c1e74bbef |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 11 03:45:45 2016 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 11 03:45:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e95b60 |
7 |
|
8 |
dev-db/mariadb: Drop security vulnerable versions |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-db/mariadb/Manifest | 2 - |
13 |
dev-db/mariadb/mariadb-10.0.23.ebuild | 183 ---------------------------------- |
14 |
dev-db/mariadb/mariadb-10.0.24.ebuild | 183 ---------------------------------- |
15 |
3 files changed, 368 deletions(-) |
16 |
|
17 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
18 |
index c192f77..3724337 100644 |
19 |
--- a/dev-db/mariadb/Manifest |
20 |
+++ b/dev-db/mariadb/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
-DIST mariadb-10.0.23.tar.gz 57394548 SHA256 156eed69892834be66736aebe0a17a76d5031fd1c2f481a82228ff33bb7ba274 SHA512 c3b6d33efeb720bcffc3c20191726671c5c9ec96da0539d9a4df34051a16770e8fef07ee43efdd79e76be50b0e007519325d39b000de3843a8c6af3671e989a3 WHIRLPOOL 2de6816353c4d0873a038255dadd296433709b55cf794021f5107e8e5657afb98dadebc89e8d93747a105d70b03b9c02edae47be8986d206240d2d894fd83c8e |
23 |
-DIST mariadb-10.0.24.tar.gz 57438082 SHA256 65de16f5f9b1696e2a537bc7a99d122bc38fa77941ba2e65d8cdf363c8449094 SHA512 57c91edd45e779401f934b18364bce3b933fc096647727e586c2fc6543ddcec60662b46ffaa4f950a84e927dac38f55547117761d9bd7a29e5c38abed7164482 WHIRLPOOL 1753a7fb407e4e39ceedb57fb7d22a19e64b586e675db03ed0449e119e2c314a13344714853d12f194306a9fa9496bd1e2a79fc1245fd0dd4eb607a0edf62d64 |
24 |
DIST mariadb-10.0.25.tar.gz 57459461 SHA256 4540832c18112a332f61f4eeb57140890c4e2188ae12b312f4e2e8a0363553e4 SHA512 7d07834dcd5a89ac276c0a85ca3ab99c630cc3768d3576ac7c1038698e3633803ae0ec0f27619c271ccd79371885f6b3f2a67d36b17ecf76432ba90760fbb96d WHIRLPOOL 011400ec5d2fc99d4426315cb5190cf2888d65f47535bfa7cc0c97b89915a029ec76d956dbc4635a18bcd42bc84905da08ea73c6c75eb9e955385b5f586c737c |
25 |
DIST mariadb-10.0.26.tar.gz 57621647 SHA256 578538d9b51f455cbd0cb021f523284a45480b4bba853b4a79f3497c49ec40c0 SHA512 7291a91cc0e17bcedbba6e93cf05679f3119efcd588b249beb423e9ac5152d1c0add9321a4dc0a59ac94ca16d5d733983234a64b7b555183b6312a045dc8991c WHIRLPOOL c09aba18191c476920fa2b39558ed5e64df1e77029ed913ffc2f34299402b89b03a3fefc711295cb58db346e84d8865fb8dabe78daa47e996c257dd9ea4a5d84 |
26 |
DIST mariadb-10.1.12.tar.gz 55254244 SHA256 795f466ac0e4df148981b85df735855d41614abaedcda51520a513a4ad60f4e7 SHA512 c0f28de80e22b7fc1f74946f309c364601036aefeea2bb464b11e3658e102dd80ef0d6d156d0af67af76e54741e60334be8c48630766141b01b885d53068b659 WHIRLPOOL 28ceaa2445a89c82c91ca4f6806fb78fd40705b823b95817625e6fc97112f9a5eddfd4e1d1527c5ad588a9fec33353e4f88174272409637090d8495175a8cd3d |
27 |
|
28 |
diff --git a/dev-db/mariadb/mariadb-10.0.23.ebuild b/dev-db/mariadb/mariadb-10.0.23.ebuild |
29 |
deleted file mode 100644 |
30 |
index eb8f605..0000000 |
31 |
--- a/dev-db/mariadb/mariadb-10.0.23.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,183 +0,0 @@ |
34 |
-# Copyright 1999-2016 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-EAPI="5" |
39 |
-MY_EXTRAS_VER="20151223-1501Z" |
40 |
-# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number |
41 |
-WSREP_REVISION="25" |
42 |
-SUBSLOT="18" |
43 |
-MYSQL_PV_MAJOR="5.6" |
44 |
- |
45 |
-inherit toolchain-funcs mysql-multilib-r1 |
46 |
- |
47 |
-HOMEPAGE="http://mariadb.org/" |
48 |
-DESCRIPTION="An enhanced, drop-in replacement for MySQL" |
49 |
- |
50 |
-IUSE="bindist odbc oqgraph pam sphinx tokudb xml" |
51 |
-RESTRICT="!bindist? ( bindist )" |
52 |
- |
53 |
-REQUIRED_USE="tokudb? ( jemalloc ) static? ( !pam )" |
54 |
- |
55 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
56 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
57 |
- |
58 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
59 |
-EPATCH_EXCLUDE='20004_all_mariadb-filter-tokudb-flags-10.0.7.patch' |
60 |
- |
61 |
-COMMON_DEPEND=" |
62 |
- !bindist? ( >=sys-libs/readline-4.1:0= ) |
63 |
- server? ( |
64 |
- extraengine? ( |
65 |
- odbc? ( dev-db/unixODBC:0= ) |
66 |
- xml? ( dev-libs/libxml2:2= ) |
67 |
- ) |
68 |
- oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= ) |
69 |
- pam? ( virtual/pam:0= ) |
70 |
- tokudb? ( app-arch/snappy ) |
71 |
- ) |
72 |
- >=dev-libs/libpcre-8.35:3= |
73 |
-" |
74 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
75 |
- ${COMMON_DEPEND}" |
76 |
-RDEPEND="${RDEPEND} ${COMMON_DEPEND} |
77 |
- perl? ( !dev-db/mytop |
78 |
- virtual/perl-Getopt-Long |
79 |
- dev-perl/TermReadKey |
80 |
- virtual/perl-Term-ANSIColor |
81 |
- virtual/perl-Time-HiRes ) |
82 |
-" |
83 |
-MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h ) |
84 |
- |
85 |
-src_configure(){ |
86 |
- # bug 508724 mariadb cannot use ld.gold |
87 |
- tc-ld-disable-gold |
88 |
- local MYSQL_CMAKE_NATIVE_DEFINES=( |
89 |
- -DWITH_JEMALLOC=$(usex jemalloc system) |
90 |
- -DWITH_PCRE=system |
91 |
- ) |
92 |
- if use server ; then |
93 |
- # Federated{,X} must be treated special otherwise they will not be built as plugins |
94 |
- if ! use extraengine ; then |
95 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
96 |
- -DWITHOUT_FEDERATED=1 |
97 |
- -DWITHOUT_FEDERATEDX=1 ) |
98 |
- fi |
99 |
- |
100 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
101 |
- $(mysql-cmake_use_plugin oqgraph OQGRAPH) |
102 |
- $(mysql-cmake_use_plugin sphinx SPHINX) |
103 |
- $(mysql-cmake_use_plugin tokudb TOKUDB) |
104 |
- $(mysql-cmake_use_plugin pam AUTH_PAM) |
105 |
- -DWITHOUT_CASSANDRA=0 |
106 |
- $(mysql-cmake_use_plugin extraengine SEQUENCE) |
107 |
- $(mysql-cmake_use_plugin extraengine SPIDER) |
108 |
- $(mysql-cmake_use_plugin extraengine CONNECT) |
109 |
- -DCONNECT_WITH_MYSQL=1 |
110 |
- -DCONNECT_WITH_LIBXML2=$(usex xml) |
111 |
- -DCONNECT_WITH_ODBC=$(usex odbc) |
112 |
- -DWITHOUT_MROONGA=1 |
113 |
- ) |
114 |
- fi |
115 |
- mysql-multilib-r1_src_configure |
116 |
-} |
117 |
- |
118 |
-# Official test instructions: |
119 |
-# USE='embedded extraengine perl server openssl static-libs' \ |
120 |
-# FEATURES='test userpriv -usersandbox' \ |
121 |
-# ebuild mariadb-X.X.XX.ebuild \ |
122 |
-# digest clean package |
123 |
-multilib_src_test() { |
124 |
- |
125 |
- if ! multilib_is_native_abi ; then |
126 |
- einfo "Server tests not available on non-native abi". |
127 |
- return 0; |
128 |
- fi |
129 |
- |
130 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
131 |
- local retstatus_unit |
132 |
- local retstatus_tests |
133 |
- |
134 |
- if use server ; then |
135 |
- |
136 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
137 |
- # localhost. Also causes weird failures. |
138 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
139 |
- |
140 |
- if [[ $UID -eq 0 ]]; then |
141 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
142 |
- fi |
143 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
144 |
- |
145 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
146 |
- addpredict /this-dir-does-not-exist/t9.MYI |
147 |
- |
148 |
- # Run CTest (test-units) |
149 |
- cmake-utils_src_test |
150 |
- retstatus_unit=$? |
151 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
152 |
- |
153 |
- # Ensure that parallel runs don't die |
154 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
155 |
- # Enable parallel testing, auto will try to detect number of cores |
156 |
- # You may set this by hand. |
157 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
158 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
159 |
- |
160 |
- # create directories because mysqladmin might run out of order |
161 |
- mkdir -p "${T}"/var-tests{,/log} |
162 |
- |
163 |
- # These are failing in MariaDB 10.0 for now and are believed to be |
164 |
- # false positives: |
165 |
- # |
166 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
167 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
168 |
- # funcs_1.is_columns_mysql main.bootstrap |
169 |
- # fails due to USE=-latin1 / utf8 default |
170 |
- # |
171 |
- # main.mysql_client_test, main.mysql_client_test_nonblock |
172 |
- # main.mysql_client_test_comp: |
173 |
- # segfaults at random under Portage only, suspect resource limits. |
174 |
- # |
175 |
- # archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
176 |
- # fails due to bad cleanup of previous tests when run in parallel |
177 |
- # The tool is deprecated anyway |
178 |
- # Bug 532288 |
179 |
- |
180 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
181 |
- main.mysql_client_test_comp \ |
182 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
183 |
- main.mysqld--help main.bootstrap \ |
184 |
- archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
185 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
186 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
187 |
- done |
188 |
- |
189 |
- # Run mysql tests |
190 |
- pushd "${TESTDIR}" || die |
191 |
- |
192 |
- # run mysql-test tests |
193 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder |
194 |
- |
195 |
- retstatus_tests=$? |
196 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
197 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
198 |
- |
199 |
- popd || die |
200 |
- |
201 |
- # Cleanup is important for these testcases. |
202 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
203 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
204 |
- |
205 |
- failures="" |
206 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
207 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
208 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
209 |
- |
210 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
211 |
- einfo "Tests successfully completed" |
212 |
- |
213 |
- else |
214 |
- einfo "Skipping server tests due to minimal build." |
215 |
- fi |
216 |
-} |
217 |
|
218 |
diff --git a/dev-db/mariadb/mariadb-10.0.24.ebuild b/dev-db/mariadb/mariadb-10.0.24.ebuild |
219 |
deleted file mode 100644 |
220 |
index 7ee3980..0000000 |
221 |
--- a/dev-db/mariadb/mariadb-10.0.24.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,183 +0,0 @@ |
224 |
-# Copyright 1999-2016 Gentoo Foundation |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
-# $Id$ |
227 |
- |
228 |
-EAPI="5" |
229 |
-MY_EXTRAS_VER="20151223-1501Z" |
230 |
-# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number |
231 |
-WSREP_REVISION="25" |
232 |
-SUBSLOT="18" |
233 |
-MYSQL_PV_MAJOR="5.6" |
234 |
- |
235 |
-inherit toolchain-funcs mysql-multilib-r1 |
236 |
- |
237 |
-HOMEPAGE="http://mariadb.org/" |
238 |
-DESCRIPTION="An enhanced, drop-in replacement for MySQL" |
239 |
- |
240 |
-IUSE="bindist odbc oqgraph pam sphinx tokudb xml" |
241 |
-RESTRICT="!bindist? ( bindist )" |
242 |
- |
243 |
-REQUIRED_USE="tokudb? ( jemalloc ) static? ( !pam )" |
244 |
- |
245 |
-# REMEMBER: also update eclass/mysql*.eclass before committing! |
246 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
247 |
- |
248 |
-# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
249 |
-EPATCH_EXCLUDE='' |
250 |
- |
251 |
-COMMON_DEPEND=" |
252 |
- !bindist? ( >=sys-libs/readline-4.1:0= ) |
253 |
- server? ( |
254 |
- extraengine? ( |
255 |
- odbc? ( dev-db/unixODBC:0= ) |
256 |
- xml? ( dev-libs/libxml2:2= ) |
257 |
- ) |
258 |
- oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= ) |
259 |
- pam? ( virtual/pam:0= ) |
260 |
- tokudb? ( app-arch/snappy ) |
261 |
- ) |
262 |
- >=dev-libs/libpcre-8.35:3= |
263 |
-" |
264 |
-DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
265 |
- ${COMMON_DEPEND}" |
266 |
-RDEPEND="${RDEPEND} ${COMMON_DEPEND} |
267 |
- perl? ( !dev-db/mytop |
268 |
- virtual/perl-Getopt-Long |
269 |
- dev-perl/TermReadKey |
270 |
- virtual/perl-Term-ANSIColor |
271 |
- virtual/perl-Time-HiRes ) |
272 |
-" |
273 |
-MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h ) |
274 |
- |
275 |
-src_configure(){ |
276 |
- # bug 508724 mariadb cannot use ld.gold |
277 |
- tc-ld-disable-gold |
278 |
- local MYSQL_CMAKE_NATIVE_DEFINES=( |
279 |
- -DWITH_JEMALLOC=$(usex jemalloc system) |
280 |
- -DWITH_PCRE=system |
281 |
- ) |
282 |
- if use server ; then |
283 |
- # Federated{,X} must be treated special otherwise they will not be built as plugins |
284 |
- if ! use extraengine ; then |
285 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
286 |
- -DWITHOUT_FEDERATED=1 |
287 |
- -DWITHOUT_FEDERATEDX=1 ) |
288 |
- fi |
289 |
- |
290 |
- MYSQL_CMAKE_NATIVE_DEFINES+=( |
291 |
- $(mysql-cmake_use_plugin oqgraph OQGRAPH) |
292 |
- $(mysql-cmake_use_plugin sphinx SPHINX) |
293 |
- $(mysql-cmake_use_plugin tokudb TOKUDB) |
294 |
- $(mysql-cmake_use_plugin pam AUTH_PAM) |
295 |
- -DWITHOUT_CASSANDRA=0 |
296 |
- $(mysql-cmake_use_plugin extraengine SEQUENCE) |
297 |
- $(mysql-cmake_use_plugin extraengine SPIDER) |
298 |
- $(mysql-cmake_use_plugin extraengine CONNECT) |
299 |
- -DCONNECT_WITH_MYSQL=1 |
300 |
- -DCONNECT_WITH_LIBXML2=$(usex xml) |
301 |
- -DCONNECT_WITH_ODBC=$(usex odbc) |
302 |
- -DWITHOUT_MROONGA=1 |
303 |
- ) |
304 |
- fi |
305 |
- mysql-multilib-r1_src_configure |
306 |
-} |
307 |
- |
308 |
-# Official test instructions: |
309 |
-# USE='embedded extraengine perl server openssl static-libs' \ |
310 |
-# FEATURES='test userpriv -usersandbox' \ |
311 |
-# ebuild mariadb-X.X.XX.ebuild \ |
312 |
-# digest clean package |
313 |
-multilib_src_test() { |
314 |
- |
315 |
- if ! multilib_is_native_abi ; then |
316 |
- einfo "Server tests not available on non-native abi". |
317 |
- return 0; |
318 |
- fi |
319 |
- |
320 |
- local TESTDIR="${BUILD_DIR}/mysql-test" |
321 |
- local retstatus_unit |
322 |
- local retstatus_tests |
323 |
- |
324 |
- if use server ; then |
325 |
- |
326 |
- # Bug #213475 - MySQL _will_ object strenously if your machine is named |
327 |
- # localhost. Also causes weird failures. |
328 |
- [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
329 |
- |
330 |
- if [[ $UID -eq 0 ]]; then |
331 |
- die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
332 |
- fi |
333 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
334 |
- |
335 |
- einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
336 |
- addpredict /this-dir-does-not-exist/t9.MYI |
337 |
- |
338 |
- # Run CTest (test-units) |
339 |
- cmake-utils_src_test |
340 |
- retstatus_unit=$? |
341 |
- [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
342 |
- |
343 |
- # Ensure that parallel runs don't die |
344 |
- export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
345 |
- # Enable parallel testing, auto will try to detect number of cores |
346 |
- # You may set this by hand. |
347 |
- # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
348 |
- export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
349 |
- |
350 |
- # create directories because mysqladmin might run out of order |
351 |
- mkdir -p "${T}"/var-tests{,/log} |
352 |
- |
353 |
- # These are failing in MariaDB 10.0 for now and are believed to be |
354 |
- # false positives: |
355 |
- # |
356 |
- # main.information_schema, binlog.binlog_statement_insert_delayed, |
357 |
- # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
358 |
- # funcs_1.is_columns_mysql main.bootstrap |
359 |
- # fails due to USE=-latin1 / utf8 default |
360 |
- # |
361 |
- # main.mysql_client_test, main.mysql_client_test_nonblock |
362 |
- # main.mysql_client_test_comp: |
363 |
- # segfaults at random under Portage only, suspect resource limits. |
364 |
- # |
365 |
- # archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam |
366 |
- # fails due to bad cleanup of previous tests when run in parallel |
367 |
- # The tool is deprecated anyway |
368 |
- # Bug 532288 |
369 |
- |
370 |
- for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
371 |
- main.mysql_client_test_comp \ |
372 |
- binlog.binlog_statement_insert_delayed main.information_schema \ |
373 |
- main.mysqld--help main.bootstrap \ |
374 |
- archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \ |
375 |
- funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
376 |
- mysql-multilib-r1_disable_test "$t" "False positives in Gentoo" |
377 |
- done |
378 |
- |
379 |
- # Run mysql tests |
380 |
- pushd "${TESTDIR}" || die |
381 |
- |
382 |
- # run mysql-test tests |
383 |
- perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder |
384 |
- |
385 |
- retstatus_tests=$? |
386 |
- [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
387 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
388 |
- |
389 |
- popd || die |
390 |
- |
391 |
- # Cleanup is important for these testcases. |
392 |
- pkill -9 -f "${S}/ndb" 2>/dev/null |
393 |
- pkill -9 -f "${S}/sql" 2>/dev/null |
394 |
- |
395 |
- failures="" |
396 |
- [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
397 |
- [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
398 |
- has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
399 |
- |
400 |
- [[ -z "$failures" ]] || die "Test failures: $failures" |
401 |
- einfo "Tests successfully completed" |
402 |
- |
403 |
- else |
404 |
- einfo "Skipping server tests due to minimal build." |
405 |
- fi |
406 |
-} |