<div dir="ltr">Thanks. So, if we change the expect string to "RTE>", the warning will not trigger the expect and unit tests will complete before the execution proceeds? Sounds good. </div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jul 16, 2025 at 3:24 PM Manit Mahajan <<a href="mailto:mmahajan@iol.unh.edu">mmahajan@iol.unh.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The compress unit test uses send_expect() with '>' to determine<br>
when the command completed. A recent patch introduced a<br>
deprecation warning for coremask, which includes a '>' in the<br>
output. This causes send_expect() to exit early,<br>
resulting in missed test output, leading to false failures.<br>
<br>
This is fixed by changing the expected termination prompt from<br>
'>' to 'RTE>'. This change address issues from the v1 patch,<br>
which incorrectly modified the EAL option from coremask to<br>
corelist.<br>
<br>
Signed-off-by: Manit Mahajan <<a href="mailto:mmahajan@iol.unh.edu" target="_blank">mmahajan@iol.unh.edu</a>><br>
---<br>
tests/compress_common.py | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/tests/compress_common.py b/tests/compress_common.py<br>
index aa591270..b4fd1921 100644<br>
--- a/tests/compress_common.py<br>
+++ b/tests/compress_common.py<br>
@@ -106,8 +106,8 @@ def run_unit(test_case, eal={}):<br>
cmdline = "./{app_path} {eal}".format(<br>
app_path=test_case.dut.apps_name["test"], eal=eal_str<br>
)<br>
- test_case.dut.send_expect(cmdline, ">", 30)<br>
- out = test_case.dut.send_expect("compressdev_autotest", ">", 30)<br>
+ test_case.dut.send_expect(cmdline, "RTE>", 30)<br>
+ out = test_case.dut.send_expect("compressdev_autotest", "RTE>", 30)<br>
test_case.dut.send_expect("quit", "# ", 30)<br>
print(out)<br>
<br>
-- <br>
2.41.0<br>
<br>
</blockquote></div>