selftests/memory-hotplug: Adjust log info for maintainability
authorZhao Gongyi <zhaogongyi@huawei.com>
Fri, 30 Sep 2022 06:35:26 +0000 (14:35 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 7 Oct 2022 16:32:10 +0000 (10:32 -0600)
commit95e5a911f9746710daf4753ba494426f802c2299
tree15498818ac9e8129b2e8131f758f59b9c98e06da
parent3e77a49aa78a65c7cfc4a2662366442ea1498fbb
selftests/memory-hotplug: Adjust log info for maintainability

Redirect misleading error message to /dev/null for
offline_memory_expect_success(), And, add an output
for online->offline test.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/memory-hotplug/mem-on-off-test.sh