Skip to content

Commit

Permalink
Add a test case for cw in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jukuisma committed Jan 10, 2025
1 parent 452d7bd commit 8769f5d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/db/archos/linux-x86_64/cmd_cw
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
NAME=cw in debug mode
FILE=bins/elf/ls-silent
ARGS=-d
CMDS=<<EOF
# Cut out the first field, which contains addresses.
# Otherwise ASLR will break the tests.
cw $$ 4 @@/v4 10 | cut -d ' ' -f 2-3
EOF
EXPECT=<<EOF
hit0_0 0a000000
hit0_1 0a000000
hit0_2 0a000000
hit0_3 0a000000
hit0_4 0a000000
hit0_5 0a000000
EOF
EXPECT_ERR=
RUN

0 comments on commit 8769f5d

Please sign in to comment.