summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qdmesg.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-07-06 14:08:27 +0200
committerHector Fernandez <hector@iatec.biz>2020-07-06 14:08:27 +0200
commit0e8e3ecd4b9be71c41008b95950d089819622dff (patch)
tree6c73dd034d81eaf1b5381e6c665277903d369408 /test-cli/test/tests/qdmesg.py
parent5dcd213c28451ac210703dc5bf9bf538671a0682 (diff)
downloadboard-0e8e3ecd4b9be71c41008b95950d089819622dff.zip
board-0e8e3ecd4b9be71c41008b95950d089819622dff.tar.gz
board-0e8e3ecd4b9be71c41008b95950d089819622dff.tar.bz2
Corrected some errors in USB and USBDUAL tests.
Diffstat (limited to 'test-cli/test/tests/qdmesg.py')
-rw-r--r--test-cli/test/tests/qdmesg.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-cli/test/tests/qdmesg.py b/test-cli/test/tests/qdmesg.py
index 45dd4eb..8117deb 100644
--- a/test-cli/test/tests/qdmesg.py
+++ b/test-cli/test/tests/qdmesg.py
@@ -2,6 +2,7 @@ import sh
import os.path
from os import path
+
class Qdmesg:
params = None
__resultlist = None # resultlist is a python list of python dictionaries
@@ -17,11 +18,9 @@ class Qdmesg:
self.pgObj.run_test(self.params["testidctl"], self.params["testid"])
# delete previous file
if path.exists("/tmp/station/dmesg.txt"):
- print("dmesg remove")
os.remove("/tmp/station/dmesg.txt")
# generate file
p = sh.dmesg("--color=never", _out="/tmp/station/dmesg.txt")
- print("Exit code: {}".format(p.exit_code))
if p.exit_code == 0:
# save result
# with open('/tmp/station/dmesg.txt', 'w') as outfile: