Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "ssh.py: add flag to request for a pseudo terminal (pty) for ssh connection"
[yardstick.git]
/
yardstick
/
benchmark
/
scenarios
/
networking
/
netperf.py
diff --git
a/yardstick/benchmark/scenarios/networking/netperf.py
b/yardstick/benchmark/scenarios/networking/netperf.py
index
08901e1
..
28f5bea
100755
(executable)
--- a/
yardstick/benchmark/scenarios/networking/netperf.py
+++ b/
yardstick/benchmark/scenarios/networking/netperf.py
@@
-85,8
+85,7
@@
class Netperf(base.Scenario):
self.client.wait(timeout=600)
# copy script to host
- self.client.run("cat > ~/netperf.sh",
- stdin=open(self.target_script, "rb"))
+ self.client._put_file_shell(self.target_script, '~/netperf.sh')
self.setup_done = True