tests/unit/test-smp-parse: Test "parameter=0" SMP configurations
commitbb829cdeffd68195259e7efeb9eb47f8b93c1aab
authorZhao Liu <zhao1.liu@intel.com>
Fri, 8 Mar 2024 16:01:48 +0000 (9 00:01 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (9 19:17 +0100)
treecd1a9f48c4c8db1bac7e6d95012c2c89f0a5484f
parent71e44ee0b2e034c88eeb507fb9bab6787f1598b5
tests/unit/test-smp-parse: Test "parameter=0" SMP configurations

The support for "parameter=0" SMP configurations is removed, and QEMU
returns error for those cases.

So add the related test cases to ensure parameters can't accept 0.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240308160148.3130837-14-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/unit/test-smp-parse.c