Following this email are two fixes for gethugepagesizes. The first is a fix to the test suite to repair the test since the move of various routines into the library. The second fixes the semantics of gethugepages counting mode which was incorrectly triggering, as detected by the fixed test. It should be noted that this is a corner case where the caller passes a buffer but requests zero entries be filled in, this should not affect any sensible use case.
-apw Andy Whitcroft (2): tests: gethugepagesizes -- switch meminfo override to intercepting open gethugepagesizes: fix selection of counting mode hugeutils.c | 19 +++-- tests/gethugepagesizes.c | 187 +++++++++++++++++++++++++++++++++++++--------- 2 files changed, 161 insertions(+), 45 deletions(-) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel