linux-xiaomi-chiron/tools/testing/selftests
Mike Kravetz a7b50abc90 selftests/vm/compaction_test: fix write to restore nr_hugepages
The write at the end of the test to restore nr_hugepages to its previous
value is failing.  This is because it is trying to write the number of
bytes in the char array as opposed to the number of bytes in the string.

Link: http://lkml.kernel.org/r/1465331205-3284-1-git-send-email-mike.kravetz@oracle.com
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Sri Jayaramappa <sjayaram@akamai.com>
Cc: Eric B Munson <emunson@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-06-24 17:23:52 -07:00
..
breakpoints
capabilities
cpu-hotplug
efivarfs
exec
firmware
ftrace ftracetest: Fix hist unsupported result in hist selftests 2016-06-20 09:46:21 -04:00
futex
intel_pstate
ipc
kcmp
lib
media_tests
membarrier
memfd
memory-hotplug
mount
mqueue
net soreuseport: Fix reuseport_bpf testcase on 32bit architectures 2016-06-06 15:20:16 -07:00
powerpc
pstore
ptrace
rcutorture
seccomp parisc: Add ARCH_TRACEHOOK and regset support 2016-05-22 21:39:13 +02:00
sigaltstack
size
static_keys
sysctl
timers
user
vm selftests/vm/compaction_test: fix write to restore nr_hugepages 2016-06-24 17:23:52 -07:00
x86
zram
gen_kselftest_tar.sh
kselftest.h
kselftest_install.sh
lib.mk
Makefile