From 466af0400dcdad38c78d0dc7a7b564ea944425e2 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 23 Sep 2022 14:45:19 +0200 Subject: [PATCH] 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. --- tests/heap_cmd/tests/01-run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/heap_cmd/tests/01-run.py b/tests/heap_cmd/tests/01-run.py index e550a74477..92010ccd40 100755 --- a/tests/heap_cmd/tests/01-run.py +++ b/tests/heap_cmd/tests/01-run.py @@ -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\]')