Daniel P. Berrange
bc5355bb57
Fix format specifiers in test cases on Win32
...
Some of the test suites use fprintf with format specifiers
that are not supported on Win32 and are not fixed by gnulib.
The mingw32 compiler also has trouble detecting ssize_t
correctly, complaining that 'ssize_t' does not match
'signed size_t' (which it expects for %zd). Force the
cast to size_t to avoid this problem
* tests/testutils.c, tests/testutils.h: Fix printf
annotation on virTestResult. Use virVasprintf
instead of vfprintf
* tests/virhashtest.c: Use VIR_WARN instead of fprintf(stderr).
Cast to size_t to avoid mingw32 compiler bug
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit f48de0f161348d0b47743e1411796d4e40160546)
2012-04-16 12:39:05 +01:00
..
2011-07-07 17:49:21 -06:00
2011-12-03 15:55:46 -07:00
2012-03-27 09:54:49 -06:00
2012-03-09 14:36:31 +01:00
2012-03-07 18:24:43 -07:00
2011-09-05 07:03:04 -06:00
2012-03-15 12:24:56 +08:00
2010-01-19 21:13:03 +01:00
2012-03-27 15:52:25 +01:00
2012-02-01 17:02:45 -07:00
2012-01-11 13:10:21 -07:00
2012-01-11 13:10:21 -07:00
2009-12-14 14:58:23 +01:00
2011-12-08 08:39:26 -05:00
2012-01-11 06:42:37 -05:00
2012-01-11 06:42:37 -05:00
2011-12-05 13:02:54 +01:00
2012-04-02 09:08:31 -06:00
2012-03-15 12:24:56 +08:00
2012-03-07 18:24:43 -07:00
2012-04-02 09:33:54 -06:00
2010-08-19 15:58:43 -06:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2012-03-07 18:24:43 -07:00
2011-11-30 10:12:30 +00:00
2012-04-02 09:33:54 -06:00
2012-04-02 09:33:54 -06:00
2012-03-07 18:24:43 -07:00
2011-05-03 08:03:39 -06:00
2010-01-15 16:28:05 +00:00
2012-03-30 11:47:14 +01:00
2012-03-26 14:45:22 -06:00
2011-04-30 19:59:52 +02:00
2010-05-12 08:41:10 +02:00
2012-03-30 11:47:04 +01:00
2010-11-03 11:43:11 +01:00
2012-03-07 18:24:43 -07:00
2012-03-27 15:52:25 +01:00
2010-05-20 13:50:03 -04:00
2012-03-26 14:45:22 -06:00
2011-12-01 13:49:20 -07:00
2011-04-29 10:21:20 -06:00
2011-07-29 17:17:21 +02:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2011-06-30 18:04:02 +01:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2012-03-29 21:23:59 -06:00
2012-03-27 17:08:06 +01:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2010-04-06 11:09:46 -04:00
2012-03-26 14:45:22 -06:00
2011-06-24 08:01:10 -06:00
2011-05-16 10:12:21 -06:00
2012-03-07 18:24:43 -07:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2012-03-26 14:45:22 -06:00
2012-03-14 23:32:53 +08:00
2012-02-27 16:06:02 -07:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2010-09-14 08:42:10 -06:00
2010-05-12 08:41:10 +02:00
2011-11-18 15:00:18 -07:00
2011-12-22 13:01:09 -07:00
2012-02-08 11:55:56 +01:00
2012-03-30 11:47:24 +01:00
2011-09-16 15:51:31 -06:00
2011-12-01 13:49:20 -07:00
2012-03-26 14:45:22 -06:00
2012-03-30 11:47:14 +01:00
2010-05-12 08:41:10 +02:00
2012-03-26 14:45:22 -06:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2010-01-15 16:28:05 +00:00
2011-07-11 09:21:37 -06:00
2012-04-16 12:39:05 +01:00
2012-04-16 12:39:05 +01:00
2012-03-27 15:52:25 +01:00
2012-03-27 15:52:25 +01:00
2012-01-17 11:39:23 +01:00
2009-07-16 15:06:42 +02:00
2011-11-03 12:01:48 +00:00
2009-07-16 15:06:42 +02:00
2011-08-19 09:22:22 -06:00
2011-07-01 16:46:20 -06:00
2010-05-12 08:41:10 +02:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-01-26 14:11:13 +00:00
2012-04-16 12:39:05 +01:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-03-30 11:47:24 +01:00
2012-03-26 14:45:22 -06:00
2010-05-12 08:41:10 +02:00
2011-12-01 14:12:59 -07:00
2011-12-01 14:12:59 -07:00
2010-05-12 08:41:10 +02:00
2012-03-26 14:45:22 -06:00
2011-09-28 15:43:39 +08:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-02-24 11:53:23 +01:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-03-26 14:45:22 -06:00
2012-02-24 11:53:23 +01:00