Modify

#448 closed enhancement (fixed)

Tests suite failed on check_set

Reported by: cedk@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.2.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

Here is a path that fix the tests suite for check_set.c

Attachments (0)

Change History (2)

comment:1 Changed at 2008-08-30T16:06:16Z by cedk@…

As attachment seems to not work:

diff -ru bitlbee-1.2.2~/tests/check_set.c bitlbee-1.2.2/tests/check_set.c --- bitlbee-1.2.2~/tests/check_set.c 2008-08-30 17:53:39.000000000 +0200 +++ bitlbee-1.2.2/tests/check_set.c 2008-08-30 17:53:58.000000000 +0200 @@ -98,6 +98,7 @@

START_TEST(test_setstr_implicit)

void *data = "data"; set_t *s = NULL, *t;

+ t = set_add(&s, "name", "foo", NULL, data);

set_setstr(&s, "name", "bloe"); fail_unless(set_find(&s, "name") != NULL);

END_TEST

comment:2 Changed at 2008-12-13T12:09:31Z by wilmer

Resolution: fixed
Status: newclosed

Actually that test is meant to test set_setstr() on non-existent settings. I killed support for this and didn't remember to remove this test. I should probably set up some automatic tester somewhere.

Thanks for the report. Fixed in changeset:devel,450.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.