From cd3c8dd78e3bcdd442967583e3814db3701871c0 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Mon, 6 Jul 2020 16:01:08 +0200 Subject: Solved minor errors with audio and usbloop tests. --- test-cli/test/tests/qusbdual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-cli/test/tests/qusbdual.py') 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") -- cgit v1.1