1f08c3bdfSopenharmony_ciTestcase 04 2f08c3bdfSopenharmony_ci----------- 3f08c3bdfSopenharmony_ci 4f08c3bdfSopenharmony_ciThis test verifies that we can't offline ALL of the CPUs in the system. 5f08c3bdfSopenharmony_ciWe do this by onlining all the cpus, then offlining all the cpus and 6f08c3bdfSopenharmony_civerifying that an error is returned for the last one. 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ciAlgorithm 9f08c3bdfSopenharmony_ci========= 10f08c3bdfSopenharmony_ciLoop until done: 11f08c3bdfSopenharmony_ci Take a snapshot of what CPUs are on and off initially 12f08c3bdfSopenharmony_ci 13f08c3bdfSopenharmony_ci Online all the CPUs 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_ci Offline al the CPUs 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_ci Restore system to initial state 18f08c3bdfSopenharmony_ci 19