From 5219e8aaae87e0b39c707765fb9a09717ffe3f2c Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 2 Feb 2024 21:03:03 +1100 Subject: [PATCH] Remove lowercase matching from linux.ip.Addr test --- test/test_volatility.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/test_volatility.py b/test/test_volatility.py index 3185b7d58..348c161da 100644 --- a/test/test_volatility.py +++ b/test/test_volatility.py @@ -329,14 +329,13 @@ def test_linux_tty_check(image, volatility, python): def test_linux_ip_addr(image, volatility, python): rc, out, err = runvol_plugin("linux.ip.Addr", image, volatility, python) - out = out.lower() assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+192.168.201.161\s+24\s+global\s+up", + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+192.168.201.161\s+24\s+global\s+UP", out, ) assert re.search( - rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+false\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+up", + rb"2\s+eth0\s+00:0c:29:8f:ed:ca\s+False\s+fe80::20c:29ff:fe8f:edca\s+64\s+link\s+UP", out, ) assert out.count(b"\n") >= 8