Test pmap.exp failed sometimes

Hi,

I found that pmap.exp have 2 failures sometimes, and it should be the problem of the test case.

These are the failed tests:

set test "pmap X pid pid has same total"
spawn $pmap -X $mypid $mypid
expect_twice_total "$test"

set test "pmap XX pid pid has same total"
spawn $pmap -XX $mypid $mypid
expect_twice_total "$test"

pmap -X $mypid $mypid will get info two times, the test case expect the same total, but it is possible that the memory changes between the two walks of mypid's memory. so maybe we should not expect total, but expect a small range of change.

Assignee Loading
Time tracking Loading