[riot-notifications] [RIOT-OS/RIOT] [BUG] testrunner matching local echo (#10952)

Gaƫtan Harter notifications at github.com
Tue Feb 5 17:08:24 CET 2019


cladmi commented on this pull request.



> @@ -0,0 +1,24 @@
+#!/usr/bin/env python3
+
+# TODO TEST FILE ONLY
+# SHOULD NOT BE MERGED
+
+import sys
+import pexpect
+from testrunner import run
+
+def testfunc(child):
+    child.expect_exact("Hello World!")
+
+    child.sendline("the test should not match this")
+    try:
+        child.expect_exact("the test should not match this")

I implemented the test with `expect_exact([pexpect.TIMEOUT, msg])` for #10949 in commit https://github.com/cladmi/RIOT/commit/f386f3997beb19d1074b082e70116f0f4c8abac7

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10952#discussion_r253931353
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190205/540acaf1/attachment.html>


More information about the notifications mailing list