aboutsummaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/filetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/filetest.cpp')
-rw-r--r--fastos/src/tests/filetest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastos/src/tests/filetest.cpp b/fastos/src/tests/filetest.cpp
index 43051dd1667..15f8ccb526b 100644
--- a/fastos/src/tests/filetest.cpp
+++ b/fastos/src/tests/filetest.cpp
@@ -813,7 +813,9 @@ public:
ScanDirectoryTest();
ReadBufTest();
MemoryMapTest(0);
+#ifdef __linux__
MemoryMapTest(MAP_HUGETLB);
+#endif
PrintSeparator();
printf("END OF TEST (%s)\n", _argv[0]);