Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure in t/bundle.t if customised ~/.sqitch/sqitch.conf exists #587

Closed
CodingMinds opened this issue Aug 12, 2021 · 1 comment
Closed
Assignees
Labels

Comments

@CodingMinds
Copy link

I've a customised ~/.sqitch/sqitch.conf:

[core]
	engine = mysql
	plan_file = /root/development/schemas/database/schema/sqitch.plan
	top_dir = /root/development/schemas/database/schema

which breaks the test Should have dest top dir:

Building and testing App-Sqitch-v1.1.0
Building App-Sqitch
t/add.t ............. ok
t/base.t ............ ok
t/blank.t ........... ok

#   Failed test 'Should have dest top dir'
#   at t/bundle.t line 70.
#          got: 'bundle/../../../../development/schemas/database/schema'
#     expected: 'bundle'
# Looks like you failed 1 test of 306.
t/bundle.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/306 subtests 
t/change.t .......... ok
t/changelist.t ...... ok
t/check.t ........... ok
t/checkout.t ........ ok
t/command.t ......... ok
t/config.t .......... ok
t/configuration.t ... ok
t/conn_cmd_role.t ... ok
t/cx_cmd_role.t ..... ok
t/datetime.t ........ ok
t/depend.t .......... ok
t/deploy.t .......... ok
t/engine.t .......... ok
t/engine_cmd.t ...... ok
t/exasol.t .......... ok
t/firebird.t ........ ok
t/help.t ............ ok
t/init.t ............ ok
t/item_formatter.t .. ok
t/linelist.t ........ ok
t/log.t ............. ok
t/mooseless.t ....... ok
t/mysql.t ........... ok
t/options.t ......... ok
t/oracle.t .......... ok
t/pg.t .............. ok
t/plan.t ............ ok
t/plan_cmd.t ........ ok
t/pragma.t .......... ok
t/rebase.t .......... ok
t/revert.t .......... ok
t/rework.t .......... ok
t/show.t ............ ok
t/snowflake.t ....... ok
t/sqlite.t .......... ok
t/status.t .......... ok
t/tag.t ............. ok
t/tag_cmd.t ......... ok
t/target.t .......... ok
t/target_cmd.t ...... ok
t/upgrade.t ......... ok
t/verify.t .......... ok
t/vertica.t ......... ok
t/x.t ............... ok

Test Summary Report
-------------------
t/bundle.t        (Wstat: 256 Tests: 306 Failed: 1)
  Failed test:  9
  Non-zero exit status: 1
Files=48, Tests=7116, 190 wallclock secs ( 3.98 usr  1.03 sys + 170.10 cusr 19.93 csys = 195.04 CPU)
Result: FAIL
Failed 1/48 test programs. 1/7116 subtests failed.
-> FAIL Installing App::Sqitch failed. See /root/.cpanm/work/1628712907.130394/build.log for details. Retry with --force to force install it.

Can easily be circumvented by commenting the relevant section while installing App::Sqitch but I guess that shouldn't be necessary or at least mentioned in test failure is someone has a not so obvious change in the configuration.

@theory theory closed this as completed in db90fc0 Aug 22, 2021
@theory theory self-assigned this Aug 22, 2021
@theory theory added the bug label Aug 22, 2021
@theory
Copy link
Collaborator

theory commented Aug 22, 2021

All fixed, thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants