Michal Privoznik
cba18f8ac2
virschematest: Make sure that validator is initialized
...
It may happen that a developer wants to run just a specific
subset of tests:
tests $ VIR_TEST_RANGE=22 ../run ./virschematest
This now fails miserably:
==6840== Invalid read of size 8
==6840== at 0x4F397C0: virXMLValidatorValidate (virxml.c:1216)
==6840== by 0x402B72: testSchemaFile (virschematest.c:53)
==6840== by 0x403737: virTestRun (testutils.c:180)
==6840== by 0x402CF5: testSchemaDir (virschematest.c:98)
==6840== by 0x402EB1: testSchemaDirs (virschematest.c:131)
==6840== by 0x40314D: mymain (virschematest.c:194)
==6840== by 0x4051AF: virTestMain (testutils.c:982)
==6840== by 0x4035A9: main (virschematest.c:217)
==6840== Address 0x10 is not stack'd, malloc'd or (recently) free'd
Problem is, we are trying to do two types of tests here: validate
RNG schema itself, and validate XML files against RNG schemas.
And the latter tries to re-use a resource allocated in the
former. Therefore if the former is skipped (due to
VIR_TEST_RANGE) we have to allocate the resource manually.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-08-15 09:51:10 +02:00
..
2016-07-11 01:04:29 +03:00
2016-06-12 11:01:50 +03:00
2016-06-25 00:23:58 +02:00
2016-06-17 14:25:02 -06:00
2016-08-12 10:59:21 +02:00
2016-05-18 14:33:58 -04:00
2016-06-17 09:35:14 +02:00
2016-06-09 14:42:48 +02:00
2016-05-24 15:21:05 -04:00
2016-07-01 21:13:30 -04:00
2016-04-21 15:06:25 -04:00
2016-07-01 13:05:25 -04:00
2016-07-01 13:05:25 -04:00
2016-05-02 15:46:23 +02:00
2016-07-12 12:35:41 +02:00
2016-08-05 09:47:08 +02:00
2016-05-16 10:30:38 -04:00
2016-07-25 10:51:08 +02:00
2016-07-25 10:51:08 +02:00
2016-06-09 10:03:38 +02:00
2016-08-10 10:29:34 -04:00
2016-08-12 17:38:02 +02:00
2016-07-14 13:47:08 -04:00
2016-05-17 10:41:45 +02:00
2016-06-21 14:31:19 -04:00
2016-07-27 18:59:15 +01:00
2016-07-27 18:59:15 +01:00
2016-04-21 18:14:07 -04:00
2016-06-09 18:31:11 +01:00
2016-05-05 10:01:55 +02:00
2016-05-17 10:41:45 +02:00
2016-08-02 14:02:21 +02:00
2016-06-07 14:06:18 -06:00
2016-06-26 19:33:08 -04:00
2016-05-26 11:17:06 +02:00
2016-07-10 15:40:11 -04:00
2016-07-10 15:40:11 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-05-14 09:46:44 +02:00
2016-07-14 09:41:55 +02:00
2016-06-14 09:18:48 +02:00
2016-07-01 12:20:54 +02:00
2016-07-01 12:20:54 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-05-14 09:46:44 +02:00
2016-06-23 21:11:32 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-06-08 11:23:12 -04:00
2016-07-01 21:13:30 -04:00
2016-07-12 11:52:10 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-07-01 13:05:25 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-05-14 09:19:51 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-08-02 09:52:00 -04:00
2016-06-08 11:23:12 -04:00
2016-06-22 09:26:08 +02:00
2016-07-07 11:51:39 +02:00
2016-08-05 10:06:01 +02:00
2016-06-08 11:23:12 -04:00
2016-05-19 15:17:03 -04:00
2016-06-22 10:45:28 +02:00
2016-07-27 13:33:10 +02:00
2016-07-19 07:51:10 -04:00
2016-07-25 10:51:08 +02:00
2016-08-04 08:03:58 +02:00
2016-06-08 11:23:12 -04:00
2016-06-09 09:47:56 +02:00
2016-06-09 09:47:56 +02:00
2016-07-11 16:25:08 +02:00
2016-08-10 10:29:34 -04:00
2016-08-04 16:23:15 +02:00
2016-06-08 11:23:12 -04:00
2016-05-10 17:16:11 +02:00
2016-07-14 13:47:08 -04:00
2016-05-14 09:22:12 +02:00
2016-08-04 15:32:20 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-07-19 09:40:01 -04:00
2016-07-01 15:46:57 -04:00
2016-06-08 11:23:12 -04:00
2016-05-02 07:18:25 +02:00
2016-07-12 12:35:41 +02:00
2016-07-12 12:15:50 +02:00
2016-06-13 14:13:17 -06:00
2016-08-10 14:25:24 +02:00
2016-05-18 11:27:56 +02:00
2016-06-14 08:25:25 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-15 15:07:47 +02:00
2016-06-08 11:23:12 -04:00
2016-07-09 11:03:32 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-20 12:09:52 +02:00
2016-05-20 17:16:21 +02:00
2016-06-09 18:31:11 +01:00
2016-07-18 15:49:57 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-24 13:23:02 -04:00
2016-06-08 11:23:13 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-09 18:31:11 +01:00
2016-06-09 18:31:11 +01:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-05-20 17:16:21 +02:00
2016-05-02 22:25:52 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-26 19:33:07 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-23 22:23:21 +02:00
2016-06-20 18:12:53 +02:00
2016-06-08 13:48:45 +01:00
2016-06-20 18:12:53 +02:00
2016-05-20 17:16:21 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-07-12 08:51:15 -06:00
2016-06-08 11:23:12 -04:00
2016-08-15 09:51:10 +02:00
2016-06-08 11:23:12 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-06-20 18:16:50 +02:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-06-20 18:16:33 +02:00
2016-04-23 15:41:40 -04:00
2016-04-23 15:41:40 -04:00
2016-05-02 07:18:25 +02:00
2016-04-23 15:41:40 -04:00
2016-06-08 11:23:13 -04:00
2016-07-27 13:24:20 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-05-20 17:16:21 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2014-03-25 14:58:41 +01:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-08-02 14:02:21 +02:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00
2016-06-08 11:23:12 -04:00