Make tests work with current shared-mime-info

svn path=/trunk/; revision=7783
This commit is contained in:
Matthias Clasen 2009-01-09 04:53:14 +00:00
parent 2479abee27
commit a6b965efa1
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-01-08 Matthias Clasen <mclasen@redhat.com>
* xdgmime/test-mime.c: Make tests work with current shared-mime-info.
2009-01-07 Matthias Clasen <mclasen@redhat.com>
Bug 566770 error code 0 for Too many open files is useless

View File

@ -74,7 +74,7 @@ test_alias (const char *mime_a,
static void
test_aliasing (void)
{
test_alias ("application/wordperfect", "application/vnd.wordperfect", 1);
test_alias ("application/x-wordperfect", "application/vnd.wordperfect", 1);
test_alias ("application/x-gnome-app-info", "application/x-desktop", 1);
test_alias ("application/x-wordperfect", "application/vnd.wordperfect", 1);
test_alias ("application/x-wordperfect", "audio/x-midi", 0);
@ -151,7 +151,7 @@ test_one_icon (const char *mimetype, const char *expected)
{
const char *actual;
actual = xdg_mime_get_icon (mimetype);
actual = xdg_mime_get_generic_icon (mimetype);
if (actual != expected && strcmp (actual, expected) != 0)
{