Skip to content

t/11_create_config.t fails #7

Description

@eserte

On some of my smoker systems (mostly newer perls + newer OSes) the test suite fails:

    #   Failed test 'Successfully finishes its job when valid dirs are provided'
    #   at t/11_create_config.t line 39.
    #                   'Only one Term::ReadLine::Gnu instance is allowed. at /usr/home/cpansand/.cpan/build/2024102016/Zabbix-ServerScript-0.14-0/blib/lib/Zabbix/ServerScript.pm line 359.
    # '
    #     doesn't match '(?^:Exit called)'

    #   Failed test 'Config.pm exists in provided dir'
    #   at t/11_create_config.t line 40.

    #   Failed test 'require '/tmp/test_module_dir.l05sPC/Config.pm';'
    #   at t/11_create_config.t line 41.
    #     Tried to require ''/tmp/test_module_dir.l05sPC/Config.pm''.
    #     Error:  Can't locate /tmp/test_module_dir.l05sPC/Config.pm at (eval 31) line 2.

    #   Failed test 'Successfully exits if overwrite is not requested'
    #   at t/11_create_config.t line 50.
    #                   'Only one Term::ReadLine::Gnu instance is allowed. at /usr/home/cpansand/.cpan/build/2024102016/Zabbix-ServerScript-0.14-0/blib/lib/Zabbix/ServerScript.pm line 359.
    # '
    #     doesn't match '(?^:Exit called)'

    #   Failed test 'Successfully exits if overwrite is requested'
    #   at t/11_create_config.t line 56.
    #                   'Only one Term::ReadLine::Gnu instance is allowed. at /usr/home/cpansand/.cpan/build/2024102016/Zabbix-ServerScript-0.14-0/blib/lib/Zabbix/ServerScript.pm line 359.
    # '
    #     doesn't match '(?^:Exit called)'

    #   Failed test 'File modification time changes if overwrite is requested'
    #   at t/11_create_config.t line 58.
    #          got: undef
    #     expected: anything else
    # Looks like you failed 6 tests of 8.

#   Failed test 'Test config creation'
#   at t/11_create_config.t line 59.
# Looks like you failed 1 test of 1.
t/11_create_config.t ... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions