summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vm/run_vmtests
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2013-07-03 15:09:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:08:07 -0700
commit7e50533d4b84289e4f01de56d6f98e9c64e2229e (patch)
tree87ddd7bb0f6ccc41e74e2ae22f38e71ff03df152 /tools/testing/selftests/vm/run_vmtests
parentfc256f04eb82abcd2bd828fee4af0c36763ffee0 (diff)
downloadop-kernel-dev-7e50533d4b84289e4f01de56d6f98e9c64e2229e.zip
op-kernel-dev-7e50533d4b84289e4f01de56d6f98e9c64e2229e.tar.gz
selftests: add hugetlbfstest
As the confusing naming indicates, this test has some overlap with pre-existing tests. Would be nice to merge them eventually. But since it is only test code, cleanliness is much less important than mere existence. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/run_vmtests')
-rw-r--r--tools/testing/selftests/vm/run_vmtests11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/vm/run_vmtests b/tools/testing/selftests/vm/run_vmtests
index 7a9072d..c87b681 100644
--- a/tools/testing/selftests/vm/run_vmtests
+++ b/tools/testing/selftests/vm/run_vmtests
@@ -75,6 +75,17 @@ else
echo "[PASS]"
fi
+echo "--------------------"
+echo "running hugetlbfstest"
+echo "--------------------"
+./hugetlbfstest
+if [ $? -ne 0 ]; then
+ echo "[FAIL]"
+ exitcode=1
+else
+ echo "[PASS]"
+fi
+
#cleanup
umount $mnt
rm -rf $mnt
OpenPOWER on IntegriCloud