Jonathon Jongsma bac096fff0 tests: ensure failure if input file doesn't exist
When using the DO_TEST_PARSE_ERROR() macro, a failure to parse the input
file is considered a successful test. However, if the input file is
totally missing, that should be distinguished from a parsing error and
not be treated as a test success.

The function virDomainDefParseFile() simply returns NULL for any parse
failure, including a missing file. So we need to explicitly check
whether the file exists first, and fail the test if it is missing.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
2020-06-25 19:51:37 -04:00
..
2020-03-25 09:04:49 +01:00
2020-06-10 14:00:38 +02:00
2020-02-06 13:41:03 +01:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:50 +01:00
2020-06-10 14:00:38 +02:00
2020-02-03 19:44:38 +01:00
2020-02-24 23:15:50 +01:00
2020-02-24 23:15:50 +01:00