diff options
author | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-05-31 08:52:45 +0200 |
---|---|---|
committer | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-06-03 10:01:30 +0200 |
commit | 024a13ac0d2e25dec620003e2538acb4598598fd (patch) | |
tree | ee37343786a8824913e59a0cbd00d09e1fa74aa3 /test/vpp_controler.py | |
parent | e77922662052f0caec4129ee43ab9d176b806769 (diff) |
[TEST] - Init log
- init log
- clean output
Change-Id: Ia4f722eb5c989df8d2f5f14f602ed30657db9975
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test/vpp_controler.py')
-rw-r--r-- | test/vpp_controler.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/vpp_controler.py b/test/vpp_controler.py index b29f00e..816ed4c 100644 --- a/test/vpp_controler.py +++ b/test/vpp_controler.py @@ -39,8 +39,12 @@ class Vpp_controler: if self.process is None: return - subprocess.run(self.ccmd + " create host name vpp1", shell=True) - subprocess.run(self.ccmd + " create host name vpp2", shell=True) + subprocess.run(self.ccmd + " create host name vpp1", shell=True, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + subprocess.run(self.ccmd + " create host name vpp2", shell=True, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) def spawn(self): self.process = subprocess.Popen([self.cmd, "-c", self.configuration], |