unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob db3b497d5dcc349bdff434a6203de9f3e6a5d43f 802 bytes (raw)
name: packages/patches/telegram-purple-adjust-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
This test incorrectly expects the libpurple search path to initially
contain exactly one element.  Remove this incorrect assertion.

--- telegram-purple-1.3.1-checkout/test/loadtest.c	2018-10-27 16:25:06.258459600 +0200
+++ telegram-purple-1.3.1-checkout/test/loadtest.c	2018-10-27 16:25:11.830434770 +0200
@@ -156,7 +156,7 @@ static void tdf_inject_plugin (void) {
   printf ("Injecting our module into purple_plugins_* ...\n");
   purple_plugins_init ();
   GList *search_paths = purple_plugins_get_search_paths ();
-  assert (!search_paths->prev && !search_paths->next && search_paths->data);
+  assert (!search_paths->prev && search_paths->data);
   GList *new_paths = g_list_append (search_paths, g_strdup ("bin/"));
   assert (new_paths == search_paths);
   // Load "my" path before the default.

debug log:

solving db3b497d5dcc349bdff434a6203de9f3e6a5d43f ...
found db3b497d5dcc349bdff434a6203de9f3e6a5d43f in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).