libhugetlbfs/libhugetlbfs_fix_tests.patch

16 lines
513 B
Diff
Raw Normal View History

References: bnc#706891
Signed-off-by: Thomas Renninger <trenn@suse.de>
--- libhugetlbfs-2.12/tests/run_tests.py.org 2011-07-20 00:00:46.000000000 -0400
+++ libhugetlbfs-2.12/tests/run_tests.py 2011-07-20 00:01:55.000000000 -0400
@@ -234,7 +234,7 @@ def get_pagesizes():
"""
sizes = set()
out = ""
- (rc, out) = bash("../obj/hugeadm --page-sizes")
+ (rc, out) = bash("hugeadm --page-sizes")
if rc != 0 or out == "": return sizes
for size in out.split("\n"): sizes.add(int(size))