diff options
author | 2013-12-22 23:21:56 +0000 | |
---|---|---|
committer | 2013-12-22 23:21:56 +0000 | |
commit | ce82423455d63b08a4773245fa29b2d5a00034d9 (patch) | |
tree | 09f63904537c08a8f9a34e5cce822816be8254f5 | |
parent | version bump (diff) | |
download | gentoo-2-ce82423455d63b08a4773245fa29b2d5a00034d9.tar.gz gentoo-2-ce82423455d63b08a4773245fa29b2d5a00034d9.tar.bz2 gentoo-2-ce82423455d63b08a4773245fa29b2d5a00034d9.zip |
Fix last failures #489794 by Toralf Förster. Enable running in parallel.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
-rw-r--r-- | sys-apps/util-linux/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch | 41 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-2.24.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-9999.ebuild | 6 |
4 files changed, 58 insertions, 3 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog index 6ba173888d60..2f26337519cc 100644 --- a/sys-apps/util-linux/ChangeLog +++ b/sys-apps/util-linux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/util-linux # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.443 2013/11/28 20:41:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.444 2013/12/22 23:21:56 vapier Exp $ + + 22 Dec 2013; Mike Frysinger <vapier@gentoo.org> + +files/util-linux-2.24-skip-last-tests.patch, util-linux-2.24.ebuild, + util-linux-9999.ebuild: + Fix last failures #489794 by Toralf Förster. Enable running in parallel. 28 Nov 2013; Mike Frysinger <vapier@gentoo.org> util-linux-2.24.ebuild, util-linux-9999.ebuild: diff --git a/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch b/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch new file mode 100644 index 000000000000..5148053d27e3 --- /dev/null +++ b/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch @@ -0,0 +1,41 @@ +From 6b55612b9ad1193a042f3c3a1d9216e63b0d2907 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Sun, 22 Dec 2013 18:17:15 -0500 +Subject: [PATCH] tests: last: skip when last is not enabled + +References: https://bugs.gentoo.org/489794 +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + tests/ts/last/ipv6 | 2 ++ + tests/ts/last/last | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/tests/ts/last/ipv6 b/tests/ts/last/ipv6 +index 8e2b01e..60b72bd 100755 +--- a/tests/ts/last/ipv6 ++++ b/tests/ts/last/ipv6 +@@ -18,6 +18,8 @@ TS_DESC="last ipv6" + . $TS_TOPDIR/functions.sh + ts_init "$*" + ++[ -x $TS_CMD_LAST ] || ts_skip "last not enabled" ++ + export LANG=C + export TZ=GMT + +diff --git a/tests/ts/last/last b/tests/ts/last/last +index 4ad38cb..83b7f8d 100755 +--- a/tests/ts/last/last ++++ b/tests/ts/last/last +@@ -18,6 +18,8 @@ TS_DESC="last" + . $TS_TOPDIR/functions.sh + ts_init "$*" + ++[ -x $TS_CMD_LAST ] || ts_skip "last not enabled" ++ + export LANG=C + export TZ=GMT + +-- +1.8.4.3 + diff --git a/sys-apps/util-linux/util-linux-2.24.ebuild b/sys-apps/util-linux/util-linux-2.24.ebuild index a27758922615..5cbb6e33bc94 100644 --- a/sys-apps/util-linux/util-linux-2.24.ebuild +++ b/sys-apps/util-linux/util-linux-2.24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild,v 1.4 2013/11/28 20:41:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.24.ebuild,v 1.5 2013/12/22 23:21:56 vapier Exp $ EAPI="4" @@ -60,6 +60,7 @@ src_prepare() { po/update-potfiles eautoreconf fi + epatch "${FILESDIR}"/${PN}-2.24-skip-last-tests.patch #491742 elibtoolize } @@ -113,6 +114,10 @@ src_configure() { $(tc-has-tls || echo --disable-tls) } +src_test() { + emake check +} + src_install() { default dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild index 6d2f8869dd3f..23cf4356fb92 100644 --- a/sys-apps/util-linux/util-linux-9999.ebuild +++ b/sys-apps/util-linux/util-linux-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.49 2013/11/28 20:41:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-9999.ebuild,v 1.50 2013/12/22 23:21:56 vapier Exp $ EAPI="4" @@ -113,6 +113,10 @@ src_configure() { $(tc-has-tls || echo --disable-tls) } +src_test() { + emake check +} + src_install() { default dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |