From 55ab0ae091d757cc92005543c76a9af066fe5855 Mon Sep 17 00:00:00 2001 From: disconnect3d Date: Mon, 3 Oct 2022 03:40:36 +0200 Subject: [PATCH] fix pipe:X in test --- tests/test_context_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_context_commands.py b/tests/test_context_commands.py index be14edc00..f7823f7b4 100644 --- a/tests/test_context_commands.py +++ b/tests/test_context_commands.py @@ -32,7 +32,7 @@ def test_context_disasm_show_fd_filepath(start_binary): assert "call read@plt" in line_call_read line_fd = line_fd.strip() - assert re.match(r"fd:\s+0x1 \((/dev/pts/\d+|\[pipe:\d+\])\)", line_fd) + assert re.match(r"fd:\s+0x1 \((/dev/pts/\d+|pipe:\[\d+\])\)", line_fd) line_buf = line_buf.strip() assert re.match(r"buf:\s+0x[0-9a-f]+ ◂— 0x0", line_buf)