2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-02 02:34:05 +08:00
linux-next/tools/testing/selftests/vm
Yannick Brosseau ee65735dd5 selftests/vm: write strlen length instead of sizeof to nr_hugepages
When setting back the initial value to nr_hugepages, the
test was writing a length sizeof of the string and checking
that strlen was writen. Since those values are not the same,
use strlen in both place instead.

Also make the error messages more explicit to help in future
debugging.

Signed-off-by: Yannick Brosseau <scientist@fb.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-06-27 13:18:26 -06:00
..
.gitignore update .gitignore in selftests/vm 2016-01-07 13:37:41 -07:00
compaction_test.c selftests/vm: write strlen length instead of sizeof to nr_hugepages 2016-06-27 13:18:26 -06:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
hugepage-mmap.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
hugepage-shm.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
Makefile selftests: vm: add tests for lock on fault 2015-11-05 19:34:48 -08:00
map_hugetlb.c mm, selftests: test return value of munmap for MAP_HUGETLB memory 2015-04-15 16:35:19 -07:00
mlock2-tests.c selftests/mlock2: add ULL suffix to 64-bit constants 2015-11-10 16:32:11 -08:00
on-fault-limit.c selftests: vm: add tests for lock on fault 2015-11-05 19:34:48 -08:00
run_vmtests linux-kselftest-4.4-rc1 2015-11-10 20:46:45 -08:00
thuge-gen.c selftests/thuge-gen: Use platform specific MAP_HUGETLB value 2016-05-22 21:43:41 +02:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c userfaultfd: selftest: don't error out if pthread_mutex_t isn't identical 2015-09-22 15:09:53 -07:00