Commit 593f9278 authored by Po-Hsu Lin's avatar Po-Hsu Lin Committed by Shuah Khan

selftests: typo correction for memory-hotplug test

Typo fixed for hotpluggable_offline_memory() in memory-hotplug test.
Signed-off-by: default avatarPo-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent d87b2917
...@@ -39,7 +39,7 @@ hotpluggable_memory() ...@@ -39,7 +39,7 @@ hotpluggable_memory()
done done
} }
hotplaggable_offline_memory() hotpluggable_offline_memory()
{ {
hotpluggable_memory offline hotpluggable_memory offline
} }
...@@ -150,7 +150,7 @@ echo -e "\t online all hotplug memory in offline state" ...@@ -150,7 +150,7 @@ echo -e "\t online all hotplug memory in offline state"
# #
# Online all hot-pluggable memory # Online all hot-pluggable memory
# #
for memory in `hotplaggable_offline_memory`; do for memory in `hotpluggable_offline_memory`; do
echo offline-online $memory echo offline-online $memory
online_memory_expect_success $memory online_memory_expect_success $memory
done done
...@@ -168,7 +168,7 @@ done ...@@ -168,7 +168,7 @@ done
# #
# Online all hot-pluggable memory again # Online all hot-pluggable memory again
# #
for memory in `hotplaggable_offline_memory`; do for memory in `hotpluggable_offline_memory`; do
echo offline-online $memory echo offline-online $memory
online_memory_expect_success $memory online_memory_expect_success $memory
done done
...@@ -214,7 +214,7 @@ done ...@@ -214,7 +214,7 @@ done
# Test memory hot-add error handling (offline => online) # Test memory hot-add error handling (offline => online)
# #
echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error 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 online_memory_expect_fail $memory
done done
...@@ -222,7 +222,7 @@ done ...@@ -222,7 +222,7 @@ done
# Online all hot-pluggable memory # Online all hot-pluggable memory
# #
echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/MEM_GOING_ONLINE/error 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 online_memory_expect_success $memory
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment