Skip to content

Commit

Permalink
Blind arm64 test regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Feb 3, 2024
1 parent 97d4c81 commit 9ab279d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions test/db/archos/darwin-arm64/dbg
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ stur w0, [fp, -4]
stur x1, [fp, -0x10]
str x8, [sp, 0x10]
EOF
REGEXP_FILTER_ERR=(((Continue\suntil)|(hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]))
REGEXP_FILTER_ERR=(((Continue\suntil)|(hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]\n))
EXPECT_ERR=<<EOF
Continue until
c88

hit breakpoint at:
c88

EOF
RUN

Expand Down Expand Up @@ -129,12 +131,14 @@ pc
f48
x8 = 0x0000000000000064
EOF
REGEXP_FILTER_ERR=(((Continue\suntil)|(hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]))
REGEXP_FILTER_ERR=(((Continue\suntil)|(hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]\n))
EXPECT_ERR=<<EOF
Continue until
f30

hit breakpoint at:
f30

EOF
RUN

Expand Down Expand Up @@ -172,14 +176,17 @@ pc
f48
x8 = 0x0000000000000064
EOF
REGEXP_FILTER_ERR=(((hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]))
REGEXP_FILTER_ERR=(((hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]\n))
EXPECT_ERR=<<EOF
hit breakpoint at:
f30

hit breakpoint at:
f44

hit breakpoint at:
f48

EOF
RUN

Expand All @@ -197,12 +204,13 @@ EXPECT=<<EOF
x8 = 0x000000000000002a
Result = 1337
EOF
REGEXP_FILTER_ERR=(([a-zA-Z:]+|[0-9a-f][0-9a-f][0-9a-f]))
REGEXP_FILTER_ERR=(([a-zA-Z:]+|[0-9a-f][0-9a-f][0-9a-f]\n))
EXPECT_ERR=<<EOF
hit
breakpoint
at:
f70

Process
finished
EOF
Expand Down Expand Up @@ -242,13 +250,16 @@ pc
f48
x8 = 0x0000000000000064
EOF
REGEXP_FILTER_ERR=(((hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]))
REGEXP_FILTER_ERR=(((hit\sbreakpoint\sat:)|[0-9a-f][0-9a-f][0-9a-f]\n))
EXPECT_ERR=<<EOF
hit breakpoint at:
f30

hit breakpoint at:
f44

hit breakpoint at:
f48

EOF
RUN

0 comments on commit 9ab279d

Please sign in to comment.