diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2017-06-27 14:17:11 +0800 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-06-30 10:06:21 -0600 |
commit | 593f927851a58fdca559b173c807a0b78c9f6e49 (patch) | |
tree | 2b84e7503d07f1154d9c953a9a013c9b7a9f8856 | |
parent | d87b29179aa00efe15c88eebbcb88819e87e7f2a (diff) |
selftests: typo correction for memory-hotplug test
Typo fixed for hotpluggable_offline_memory() in memory-hotplug test.
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
-rwxr-xr-x | tools/testing/selftests/memory-hotplug/mem-on-off-test.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh index 6cddde0b96f8..a8d858767102 100755 --- a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh +++ b/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh @@ -39,7 +39,7 @@ hotpluggable_memory() done } -hotplaggable_offline_memory() +hotpluggable_offline_memory() { hotpluggable_memory offline } @@ -150,7 +150,7 @@ echo -e "\t online all hotplug memory in offline state" # # Online all hot-pluggable memory # -for memory in `hotplaggable_offline_memory`; do +for memory in `hotpluggable_offline_memory`; do echo offline-online $memory online_memory_expect_success $memory done @@ -168,7 +168,7 @@ done # # Online all hot-pluggable memory again # -for memory in `hotplaggable_offline_memory`; do +for memory in `hotpluggable_offline_memory`; do echo offline-online $memory online_memory_expect_success $memory done @@ -214,7 +214,7 @@ done # Test memory hot-add error handling (offline => online) # echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error -for memory in `hotplaggable_offline_memory`; do +for memory in `hotpluggable_offline_memory`; do online_memory_expect_fail $memory done @@ -222,7 +222,7 @@ done # Online all hot-pluggable memory # echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error -for memory in `hotplaggable_offline_memory`; do +for memory in `hotpluggable_offline_memory`; do online_memory_expect_success $memory done |