summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qusbdual.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-07-06 16:01:08 +0200
committerHector Fernandez <hector@iatec.biz>2020-07-06 16:01:08 +0200
commitcd3c8dd78e3bcdd442967583e3814db3701871c0 (patch)
tree48db9571f0c6cf518b6f11dd0c8b238897a0f458 /test-cli/test/tests/qusbdual.py
parent0e8e3ecd4b9be71c41008b95950d089819622dff (diff)
downloadboard-cd3c8dd78e3bcdd442967583e3814db3701871c0.zip
board-cd3c8dd78e3bcdd442967583e3814db3701871c0.tar.gz
board-cd3c8dd78e3bcdd442967583e3814db3701871c0.tar.bz2
Solved minor errors with audio and usbloop tests.
Diffstat (limited to 'test-cli/test/tests/qusbdual.py')
-rw-r--r--test-cli/test/tests/qusbdual.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-cli/test/tests/qusbdual.py b/test-cli/test/tests/qusbdual.py
index ad95b84..842d514 100644
--- a/test-cli/test/tests/qusbdual.py
+++ b/test-cli/test/tests/qusbdual.py
@@ -60,7 +60,7 @@ class Qusbdual(unittest.TestCase):
self.fail("failed: Unable to calculate MD5 of the copied file.")
newmd5 = p.stdout.decode().split(" ")[0]
with open('/tmp/station/hdd_gadget/usb-test.bin.md5', 'r') as outfile:
- oldmd5 = outfile.read()
+ oldmd5 = outfile.read().rstrip("\n")
outfile.close()
if newmd5 != oldmd5:
sh.umount("/tmp/station/hdd_gadget")