Index: client/tests/netperf2/netperf2.py |
diff --git a/client/tests/netperf2/netperf2.py b/client/tests/netperf2/netperf2.py |
index f8857c2da509eb50662dcb2e9286a4708badd8c2..6f283f8d076c5fc27ea6ac886ed7805b6229e0f7 100644 |
--- a/client/tests/netperf2/netperf2.py |
+++ b/client/tests/netperf2/netperf2.py |
@@ -7,7 +7,7 @@ MPSTAT_IX = 0 |
NETPERF_IX = 1 |
class netperf2(test.test): |
- version = 3 |
+ version = 4 |
# ftp://ftp.netperf.org/netperf/netperf-2.4.4.tar.gz |
def setup(self, tarball = 'netperf-2.4.4.tar.gz'): |
@@ -25,6 +25,8 @@ class netperf2(test.test): |
utils.system('make') |
utils.system('sync') |
+ self.job.setup_dep(['sysstat']) |
+ |
def initialize(self): |
self.server_prog = '%s&' % os.path.join(self.srcdir, 'src/netserver') |
@@ -145,6 +147,9 @@ class netperf2(test.test): |
def client(self, server_ip, test, test_time, num_streams, |
test_specific_args, cpu_affinity): |
args = '-H %s -t %s -l %d' % (server_ip, test, test_time) |
+ |
+ mpstat = os.path.join(self.autodir + 'deps/sysstat/mpstat') |
+ |
if self.wait_time: |
args += ' -s %d ' % self.wait_time |