Subject: | 06-VmFlags.t may fail with older linux kernels (?) |
See http://www.cpantesters.org/cpan/report/384e01e4-e317-11e2-b612-273c1f19502a for a sample test report. I think the failure happens because the real /proc/*/smaps on that machine (Debian/squeeze, kernel version 2.6.32-5-amd6) does not list the Anonymous and AnonHugePages fields. The test output file smaps-VmFlags lists these fields, and so there's a mismatch in @Linux::Smaps::VMA::attributes. The problem can be reproduced here with a one liner:
$ perl -Mblib -MLinux::Smaps -e 'Linux::Smaps->new(filename => shift)' t/smaps-VmFlags
Linux::Smaps: Linux::Smaps::VMA::kernelpagesize method is already defined
Regards,
Slaven