--- a/libpurple/tests/test_smiley.c Thu Jun 29 23:13:56 2017 -0500 +++ b/libpurple/tests/test_smiley.c Thu Jul 06 21:27:03 2017 -0500 @@ -86,7 +86,8 @@ ); g_assert_cmpstr(purple_smiley_get_shortcut(smiley), ==, shortcut); - g_assert_cmpstr(purple_image_get_path(PURPLE_IMAGE(smiley)), ==, path); + if(path) + g_assert_cmpstr(purple_image_get_path(PURPLE_IMAGE(smiley)), ==, path); g_object_unref(G_OBJECT(smiley)); } @@ -104,7 +105,7 @@ _test_smiley( smiley, - purple_image_generate_filename(PURPLE_IMAGE(smiley)), + NULL, test_image_data, test_image_data_len, "png",