1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-01 16:58:33 +03:00
Laine Stump 4e2d642afb tests: fix use of fixedcontent variable
Commit 8563560026d192c2cf047b550ffd468692245ed6 switched from
hardcoded use of strcontent to hardcoded use of fixedcontent
(fixedcontent is *sometimes* a copy of strcontent with a \n
appended). This was a problem because sometimes fixedcontent is *not*
a copy of strcontent, but is instead NULL, leading to the regenerated
test case output being a 0 length file.

This patch creates a new const char *cmpcontent initialized to
strcontent, but changed to fixedcontent if/when fixedcontent is
created, then always uses cmpcontent instead of (str|fixed)content.
2016-09-19 17:22:26 -04:00
..
2016-03-18 17:29:53 +01:00
2015-05-21 18:13:18 +02:00
2016-09-14 13:18:07 +02:00
2016-03-18 17:29:53 +01:00
2016-05-14 09:19:51 +02:00
2016-05-02 07:18:25 +02:00
2016-06-14 08:25:25 +02:00
2016-05-20 17:16:21 +02:00
2016-05-20 17:16:21 +02:00
2015-04-14 19:33:02 +02:00
2016-05-20 17:16:21 +02:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2016-05-02 07:18:25 +02:00