Skip to content

Commit

Permalink
Fix unittests on 32bit linux
Browse files Browse the repository at this point in the history
  • Loading branch information
benfred committed Nov 9, 2021
1 parent e2b3ffa commit 110731e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/testdata/map.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
00400000-00507000 r-xp 00000000 00:14 205736 /usr/bin/fish
00708000-0070a000 rw-p 00000000 00:00 0
0178c000-01849000 rw-p 00000000 00:00 0 [heap]
7f438053b000-7f438053f000 r--p 00000000 fd:01 59034409 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4200.6 (deleted)
7f438050-7f438060 r--p 00000000 fd:01 59034409 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4200.6 (deleted)
4 changes: 2 additions & 2 deletions src/linux_maps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ fn test_parse_maps() {
pathname: Some("[heap]".to_string()),
},
MapRange {
range_start: 0x7f438053b000,
range_end: 0x7f438053f000,
range_start: 0x7f438050,
range_end: 0x7f438060,
offset: 0,
dev: "fd:01".to_string(),
flags: "r--p".to_string(),
Expand Down

0 comments on commit 110731e

Please sign in to comment.