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-19 21:59:31 +02:00
2020-04-14 18:49:41 +02:00
2020-04-14 18:49:41 +02:00
2020-06-19 21:59:31 +02:00
2020-03-16 15:51:44 +01:00
2020-05-07 17:38:41 -06:00
2020-02-06 15:00:57 +01:00
2020-04-23 10:59:33 +02:00
2020-06-15 17:10:15 +01:00
2020-06-15 17:10:15 +01:00
2020-06-15 17:10:15 +01:00
2020-06-19 10:39:55 +02:00
2020-06-19 10:39:55 +02:00
2020-06-22 16:04:31 +02:00
2020-06-23 17:27:50 +02:00
2020-03-05 11:31:38 +01:00
2020-03-12 08:04:40 +01:00
2020-03-12 08:04:40 +01:00
2020-03-16 16:00:27 +00:00
2020-06-22 16:04:31 +02:00
2020-06-25 19:47:41 -04:00
2020-06-23 23:20:00 +02:00
2020-06-10 14:00:38 +02:00
2020-05-25 16:09:58 +02:00
2020-03-20 09:47:16 +01:00
2020-02-25 15:43:56 +00:00
2020-03-19 11:25:33 +01:00
2020-04-21 09:22:14 -06:00
2020-03-09 15:46:42 +01:00
2020-02-20 23:13:15 -05:00
2020-02-24 01:52:22 +01:00
2020-02-04 14:00:45 +00:00
2020-03-24 14:33:29 +01:00
2020-06-15 10:27:37 +02:00
2020-04-07 15:26:10 +02:00
2020-02-06 13:41:03 +01:00
2020-02-24 23:15:49 +01:00
2020-04-14 18:49:41 +02:00
2020-02-25 12:05:01 +01:00
2020-04-09 15:45:05 -06:00
2020-06-19 10:39:55 +02:00
2020-04-23 12:38:01 +02:00
2020-06-15 17:10:15 +01:00
2020-06-15 17:10:15 +01:00
2020-06-19 10:39:55 +02:00
2020-01-29 14:51:40 +00:00
2020-02-24 23:15:50 +01:00
2020-04-27 08:13:52 +02:00
2020-06-22 16:04:31 +02:00
2020-05-25 16:10:04 +02:00
2020-05-20 09:41:57 +02:00
2020-04-23 15:57:36 +02:00
2020-05-20 09:41:58 +02:00
2020-05-07 22:31:04 +02:00
2020-06-17 10:25:33 +02:00
2020-05-20 08:53:29 +02:00
2020-05-20 08:53:29 +02:00
2020-02-04 14:00:45 +00:00
2020-06-25 19:51:37 -04:00
2020-06-23 23:20:00 +02:00
2020-06-15 10:27:37 +02:00
2020-02-04 14:00:45 +00:00
2020-02-04 14:00:45 +00:00
2020-06-10 14:00:38 +02:00
2020-05-07 13:39:52 +01:00
2020-02-11 16:30:18 +01:00
2020-06-23 17:33:30 +01:00
2020-05-20 09:41:58 +02:00
2020-05-20 09:41:58 +02:00
2020-05-20 09:41:58 +02:00
2020-02-25 12:05:00 +01:00
2020-06-16 09:43:34 +02:00
2020-02-24 23:15:50 +01:00
2020-06-16 15:01:05 +02:00
2020-03-20 09:47:16 +01:00
2020-02-03 19:44:38 +01:00
2020-02-04 14:00:45 +00:00
2020-06-23 17:33:30 +01:00
2020-02-24 23:15:50 +01:00
2020-05-25 16:09:41 +02:00
2020-05-06 16:24:31 +02:00
2020-05-06 16:24:31 +02:00
2020-03-20 09:47:16 +01:00
2020-02-24 23:15:49 +01:00
2020-06-22 18:22:34 +01:00
2020-02-25 10:02:15 +00:00
2020-03-19 14:39:38 +01:00
2020-01-29 14:51:40 +00:00
2020-03-19 14:39:38 +01:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:50 +01:00
2020-01-29 14:51:40 +00:00
2020-02-25 15:43:56 +00:00
2020-01-29 14:51:40 +00:00
2020-02-24 23:15:49 +01:00
2020-06-05 16:27:33 +02:00
2020-02-24 23:15:50 +01:00
2020-03-06 17:02:10 +00:00
2020-03-06 17:02:10 +00:00
2020-02-11 16:30:18 +01:00
2020-05-12 06:55:00 +02:00
2020-02-07 15:03:54 +00:00
2020-04-07 15:26:19 +02:00
2020-01-29 14:51:40 +00:00
2020-01-29 14:51:40 +00:00
2020-01-29 14:51:40 +00:00
2020-03-19 11:25:33 +01:00
2020-02-04 14:00:45 +00:00
2020-04-21 09:22:14 -06:00
2020-06-15 10:27:37 +02:00