Skip to content

cfgtest example fails with test.conf and simple.conf #120

@busykai

Description

@busykai

Running cgftest (with default test.conf and simple.conf) on the current master, cfg_parse returns CFG_PARSE_ERROR here.

It could be by design. However, both test.conf and simple.conf are cited as good examples.

For example, running ./cfgtest test.conf produces:

Using libConfuse 3.2.2 by Martin Hedenfalk <martin@bzero.se>

cb_func() called with 4 parameters:
parameter 0: 'one'
parameter 1: 'two'
parameter 2: 'three'
parameter 3: 'four'
cb_func() called with 2 parameters:
parameter 0: '1'
parameter 1: '2'
test.conf:58: no such option '//delays'
ret == 1
parse error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions