mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
tests/heap_cmd: fix test script
In c95e8553ef4761f145b51ebc9997bcfa8def48b4 the shell output of the heap command was changed and no longer matched the expectation of the test script. This adapts the test to again match the output.
This commit is contained in:
parent
04b7ea59fd
commit
466af0400d
@ -24,7 +24,7 @@ def testfunc(child):
|
||||
child.sendline('heap')
|
||||
child.expect(r'heap: \d+ \(used \d+, free \d+\) \[bytes\]')
|
||||
child.sendline('free 0x' + addr)
|
||||
child.expect('freed 0x' + addr)
|
||||
child.expect('freeing 0x' + addr)
|
||||
child.expect_exact('>')
|
||||
child.sendline('heap')
|
||||
child.expect(r'heap: \d+ \(used \d+, free \d+\) \[bytes\]')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user