commit | ee65735dd5acecbf335f9aa32e3b129a1de9e184 | [log] [tgz] |
---|---|---|
author | Yannick Brosseau <scientist@fb.com> | Mon Jun 20 08:07:21 2016 -0700 |
committer | Shuah Khan <shuahkh@osg.samsung.com> | Mon Jun 27 13:18:26 2016 -0600 |
tree | ca48c22d86c0bb81949c02469afdc5f54b159d2c | |
parent | 3aefd1febd882a76e21ca8f61ade03b9c1a2c719 [diff] |
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>