Ticket #1144 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[testcase] member_get_config_or_default is failing

Reported by: dgollub Owned by: dgollub
Priority: high Milestone: OpenSync 0.39
Component: OpenSync Version: 0.38
Severity: critical Keywords:
Cc: ianmartin

Description (last modified by dgollub) (diff)

0%: Checks: 1, Failures: 1, Errors: 0
/home/dgollub/projects/OpenSync/opensync/tests/group-tests/check_member.c:272:F:member_get_config_or_default:function:0: Assertion 'config != NULL' failed
-- Process completed

0% tests passed, 1 tests failed out of 1

The following tests FAILED:
        217 - member_get_config_or_default (Failed)

Change History

comment:1 Changed 5 years ago by dgollub

  • Cc ianmartin added
  • Status changed from new to assigned
  • Description modified (diff)

This test is failing due to missing installation of OpenSync? user-data - e.g.:


Testcases actually should always work without any installation of OpenSync? in the system environment.

In this example the PREFIX of the installation was /home/dgollub/build/OpenSync/

Need to adapt osync_member_get_config_or_default to use a different directory then the original PREFIx for unittesting.

comment:2 Changed 5 years ago by dgollub

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [5727]) Make testcase member_get_config_or_default more robust and working even without any opensync installation.

fixes #1144

Note: See TracTickets for help on using tickets.