diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-01-29 22:17:54 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-01-29 22:17:54 +0000 |
commit | 17cfa3d5bead0117421558650ae822f42f12ad74 (patch) | |
tree | f61d19ddc29b8ad8d5b9407cdf1316d94ce29dbe /net-analyzer/tcpreplay | |
parent | old version clean out and errno.patch added as per bug #75471 (diff) | |
download | gentoo-2-17cfa3d5bead0117421558650ae822f42f12ad74.tar.gz gentoo-2-17cfa3d5bead0117421558650ae822f42f12ad74.tar.bz2 gentoo-2-17cfa3d5bead0117421558650ae822f42f12ad74.zip |
fix maketest
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-analyzer/tcpreplay')
-rw-r--r-- | net-analyzer/tcpreplay/Manifest | 12 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild | 23 |
2 files changed, 9 insertions, 26 deletions
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest index 62c8ba0da4cd..b6a8c9f476ef 100644 --- a/net-analyzer/tcpreplay/Manifest +++ b/net-analyzer/tcpreplay/Manifest @@ -1,18 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 2f10300aafd36aa5e44db2710731a7d3 ChangeLog 1299 MD5 1cd3590be14655cd8346c467d76e8484 metadata.xml 250 MD5 afa76b28a7e31d137461093ff1fe7e43 tcpreplay-1.4.6.ebuild 741 MD5 94ac072464d33db5ccc07ea57e78267e tcpreplay-2.2.2.ebuild 842 -MD5 58f2ddc33e52ed12d8b78b8e7702b6bd tcpreplay-2.3.2.ebuild 1274 +MD5 b4921801b013e4782890d20f44f34e6d tcpreplay-2.3.2.ebuild 1255 MD5 0b75692f271546f9eb50aa1af1887fdf files/digest-tcpreplay-1.4.6 67 MD5 a2e378f507f02665aa74c92df8ea254b files/digest-tcpreplay-2.2.2 67 MD5 bc5984507a3e4ebbee2b6d68de8d6eae files/digest-tcpreplay-2.3.2 67 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB+/YQmdTrptrqvGERAogUAJsE8rBAAY12ZgdY2/oOhrquJPikGgCgjpY8 -QcLa4cpttSXhy+OQxqTjgjE= -=UIEX ------END PGP SIGNATURE----- diff --git a/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild b/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild index bc37fe2aa271..a75486cbb652 100644 --- a/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild,v 1.1 2005/01/29 20:46:02 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild,v 1.2 2005/01/29 22:17:54 dragonheart Exp $ DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" HOMEPAGE="http://tcpreplay.sourceforge.net/" @@ -24,22 +24,15 @@ src_compile() { } src_test() { - # This would work if src_test was run as root when FEATURES didn't - # have user priv. - - #if hasq userpriv "${FEATURES}"; then + whoami + if hasq userpriv "${FEATURES}"; then ewarn "Some tested disabled due to FEATURES=userpriv" ewarn "For a full test as root - make -C ${S}/test" - if ! make -C test tcpprep; then - cat test/test.log - die "self test failed" - fi - #else - # if ! make test; then - # cat test/test.log - # die "self test failed" - # fi - #fi + make -C test tcpprep || die "self test failed - see ${S}/test/test.log" + else + make test || \ + die "self test failed - see ${S}/test/test.log" + fi } |