#!/usr/bin/env python3

import sys
from testrunner import run


def testfunc(child):
    child.expect("n=   0 t=\ +\d+ v=0x00000000\r\n")
    child.expect("n=   1 t=\+\ +\d+ v=0x00000001\r\n")


if __name__ == "__main__":
    sys.exit(run(testfunc))

@@ -91,24 +91,25 @@
 hild.expect(
+r
 %22n=   0 t=%5C 
@@ -149,16 +149,17 @@
 .expect(
+r
 %22n=   1 

declare expect regexp as raw strings