1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/heap_cmd: fix test script

In c95e8553ef 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:
Marian Buschsieweke 2022-09-23 14:45:19 +02:00
parent 04b7ea59fd
commit 466af0400d
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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\]')