diff options
author | 2009-03-21 13:06:59 +0000 | |
---|---|---|
committer | 2009-03-21 13:06:59 +0000 | |
commit | f1fbcb655a7d6e4f02420f37bdef1a63a43f0db6 (patch) | |
tree | b0e763ef050d1e12babfb6c67ceb14e948588931 /net-misc | |
parent | Bump to 2.24.2-r2. Thanks to Pacho Ramos, (diff) | |
download | gentoo-2-f1fbcb655a7d6e4f02420f37bdef1a63a43f0db6.tar.gz gentoo-2-f1fbcb655a7d6e4f02420f37bdef1a63a43f0db6.tar.bz2 gentoo-2-f1fbcb655a7d6e4f02420f37bdef1a63a43f0db6.zip |
touchup tests a bit
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openssh/openssh-5.2_p1-r1.ebuild | 15 | ||||
-rw-r--r-- | net-misc/openssh/openssh-5.2_p1-r2.ebuild | 15 |
2 files changed, 14 insertions, 16 deletions
diff --git a/net-misc/openssh/openssh-5.2_p1-r1.ebuild b/net-misc/openssh/openssh-5.2_p1-r1.ebuild index a4998c542477..eed7bf7c4fd0 100644 --- a/net-misc/openssh/openssh-5.2_p1-r1.ebuild +++ b/net-misc/openssh/openssh-5.2_p1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.2_p1-r1.ebuild,v 1.3 2009/03/11 20:35:07 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.2_p1-r1.ebuild,v 1.4 2009/03/21 13:06:59 vapier Exp $ inherit eutils flag-o-matic multilib autotools pam @@ -171,17 +171,16 @@ src_install() { } src_test() { - local failed="" passwd="" + local t failed passwd for t in tests interop-tests compat-tests ; do - einfo "Starting ${t} testsuite" - emake -j1 ${t} - [[ $? -eq 0 ]] \ + # Some tests read from stdin ... + emake -k -j1 ${t} </dev/null \ && passed="${passed}${t} " \ || failed="${failed}${t} " done - einfo "Failed tests: ${failed}" - einfo "Passed tests: ${passed}" - if [[ -n "${failed}" ]]; then + if [[ -n ${failed} ]] ; then + einfo "Passed tests: ${passed}" + ewarn "Failed tests: ${failed}" die "Some tests failed: ${failed}" else return 0 diff --git a/net-misc/openssh/openssh-5.2_p1-r2.ebuild b/net-misc/openssh/openssh-5.2_p1-r2.ebuild index 2953962a1bb2..2fdb998d1d97 100644 --- a/net-misc/openssh/openssh-5.2_p1-r2.ebuild +++ b/net-misc/openssh/openssh-5.2_p1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.2_p1-r2.ebuild,v 1.3 2009/03/11 20:35:07 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.2_p1-r2.ebuild,v 1.4 2009/03/21 13:06:59 vapier Exp $ inherit eutils flag-o-matic multilib autotools pam @@ -179,17 +179,16 @@ src_install() { } src_test() { - local failed="" passwd="" + local t failed passwd for t in tests interop-tests compat-tests ; do - einfo "Starting ${t} testsuite" - emake -j1 ${t} - [[ $? -eq 0 ]] \ + # Some tests read from stdin ... + emake -k -j1 ${t} </dev/null \ && passed="${passed}${t} " \ || failed="${failed}${t} " done - einfo "Failed tests: ${failed}" - einfo "Passed tests: ${passed}" - if [[ -n "${failed}" ]]; then + if [[ -n ${failed} ]] ; then + einfo "Passed tests: ${passed}" + ewarn "Failed tests: ${failed}" die "Some tests failed: ${failed}" else return 0 |