summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-29 22:17:54 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-29 22:17:54 +0000
commit8d5c53cd83c0f2ca4319e9b53d59d0e2f5062477 (patch)
treeaee10b2fc058c97c5e1dd6654f25aaf4abb08926 /net-analyzer/tcpreplay
parentold version clean out and errno.patch added as per bug #75471 (diff)
downloadhistorical-8d5c53cd83c0f2ca4319e9b53d59d0e2f5062477.tar.gz
historical-8d5c53cd83c0f2ca4319e9b53d59d0e2f5062477.tar.bz2
historical-8d5c53cd83c0f2ca4319e9b53d59d0e2f5062477.zip
fix maketest
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-analyzer/tcpreplay')
-rw-r--r--net-analyzer/tcpreplay/Manifest8
-rw-r--r--net-analyzer/tcpreplay/tcpreplay-2.3.2.ebuild23
2 files changed, 12 insertions, 19 deletions
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 62c8ba0da4cd..e856f54d162a 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -5,14 +5,14 @@ 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 ec7bc993123faf48a1371d6785ddb60d tcpreplay-2.3.2.ebuild 1168
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
+iD8DBQFB/AuYmdTrptrqvGERAqDZAJ9TalDvFCE7cXu6jLA0whW/onliUQCfbVXe
+E4hbZr82DaoyfuZNQ1q4kww=
+=vEZ3
-----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
}