Philippe Mathieu-Daudé
7b6d1bc962
tests/unit/test-smp-parse: Explicit MachineClass name
...
If the MachineClass::name pointer is not explicitly set, it is NULL.
Per the C standard, passing a NULL pointer to printf "%s" format is
undefined. Some implementations display it as 'NULL', other as 'null'.
Since we are comparing the formatted output, we need a stable value.
The easiest is to explicit a machine name string.
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Tested-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211115145900.2531865-4-philmd@redhat.com>
2021-11-15 21:49:16 +01:00
..
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-10-27 17:17:28 +02:00
2021-03-12 15:46:30 +01:00
2021-06-25 10:53:46 +02:00
2021-06-25 10:53:46 +02:00
2021-06-25 10:53:46 +02:00
2021-06-25 10:53:46 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-06-18 10:59:52 -05:00
2021-03-12 15:46:30 +01:00
2021-11-01 19:44:11 +01:00
2021-06-25 10:53:46 +02:00
2021-07-05 11:40:32 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-06-18 10:59:52 -05:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-09-29 13:46:31 -05:00
2021-06-29 16:51:00 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-09-29 13:46:32 -05:00
2021-03-12 15:46:30 +01:00
2021-10-07 10:42:09 +02:00
2021-03-12 15:46:30 +01:00
2021-03-19 10:18:06 +01:00
2021-09-27 08:23:25 +02:00
2021-03-31 10:44:21 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-07-14 14:15:52 +01:00
2021-03-12 15:46:30 +01:00
2021-06-25 10:53:46 +02:00
2021-06-25 10:53:46 +02:00
2021-03-12 15:46:30 +01:00
2021-03-24 14:25:41 +00:00
2021-10-27 17:10:00 -07:00
2021-03-12 15:46:30 +01:00
2021-07-23 18:17:17 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-06-25 10:53:46 +02:00
2021-03-12 15:46:30 +01:00
2021-07-26 07:07:28 -10:00
2021-07-06 08:33:51 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-07-06 08:33:51 +02:00
2021-03-12 15:46:30 +01:00
2021-09-01 11:08:15 +01:00
2021-03-12 15:46:30 +01:00
2021-09-27 08:23:25 +02:00
2021-03-23 22:31:05 +01:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-05-26 14:49:46 +02:00
2021-03-12 15:46:30 +01:00
2021-11-15 21:49:16 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-03-19 16:05:11 +01:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-06-03 16:43:27 +01:00
2021-05-14 16:14:10 +02:00
2021-03-12 15:46:30 +01:00
2021-03-12 15:46:30 +01:00
2021-09-27 08:23:25 +02:00