diff options
author | Arthur She <arthur.she@linaro.org> | 2014-09-15 17:12:51 -0700 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2014-09-15 17:12:51 -0700 |
commit | 57621049dccbdd6a74d943ca81ddedaadac467fd (patch) | |
tree | e8e58b5e88befdad313e4e039fe0fa0167310d32 /memory-hotplug | |
parent | cb0e1116a994f5b4fec7ad70b18988d19a3a6ae0 (diff) |
Update to commit d6e35d087fe9d71f4ac201e89db478485c808890 from upstream kernel
Diffstat (limited to 'memory-hotplug')
-rw-r--r-- | memory-hotplug/Makefile | 5 | ||||
-rw-r--r-- | memory-hotplug/on-off-test.sh | 8 |
2 files changed, 1 insertions, 12 deletions
diff --git a/memory-hotplug/Makefile b/memory-hotplug/Makefile index d46b8d4..0f49c3f 100644 --- a/memory-hotplug/Makefile +++ b/memory-hotplug/Makefile @@ -1,9 +1,6 @@ all: run_tests: - @/bin/bash ./on-off-test.sh -r 2 || echo "memory-hotplug selftests: [FAIL]" - -run_full_test: - @/bin/bash ./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]" + @./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]" clean: diff --git a/memory-hotplug/on-off-test.sh b/memory-hotplug/on-off-test.sh index 6cddde0..a2816f6 100644 --- a/memory-hotplug/on-off-test.sh +++ b/memory-hotplug/on-off-test.sh @@ -142,16 +142,10 @@ fi prerequisite -echo "Test scope: $ratio% hotplug memory" -echo -e "\t online all hotplug memory in offline state" -echo -e "\t offline $ratio% hotplug memory in online state" -echo -e "\t online all hotplug memory in offline state" - # # Online all hot-pluggable memory # for memory in `hotplaggable_offline_memory`; do - echo offline-online $memory online_memory_expect_success $memory done @@ -160,7 +154,6 @@ done # for memory in `hotpluggable_online_memory`; do if [ $((RANDOM % 100)) -lt $ratio ]; then - echo online-offline $memory offline_memory_expect_success $memory fi done @@ -169,7 +162,6 @@ done # Online all hot-pluggable memory again # for memory in `hotplaggable_offline_memory`; do - echo offline-online $memory online_memory_expect_success $memory done |