Ticket #3542 (closed defect: fixed)
[patch] fix /src/editor testsuite failure when ncurses is used
Reported by: | and | Owned by: | zaytsev |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.33 |
Component: | tests | Version: | master |
Keywords: | Cc: | ||
Blocked By: | #4584 | Blocking: | |
Branch state: | no branch | Votes for changeset: |
Description
fix /src/editor testsuite failure when ncurses is used
Running suite /src/editor (null):-1:S:Core:test_autocomplete:0: (after this point) Received signal 11 (Segmentation fault) (null):-1:S:Core:test_autocomplete:1: (after this point) Received signal 11 (Segmentation fault) (null):-1:S:Core:test_autocomplete_single:0: (after this point) Received signal 11 (Segmentation fault) Results for all suites run: 0%: Checks: 3, Failures: 0, Errors: 3
testsuite failed because ncurses:doupdate() called without proper init
edit_init() -> edit_load_file() -> edit_load_file_fast() -> status_msg_init() -> mc_refesh() -> ncurses/tty_refresh() -> doupdate()
patch against 52fd328042a426e885da891c8ce8218cda3a1cf7
compile test with GCC 5.2.0/ncurses 5.9
Signed-off-by: Andreas Mohr <and@…>
Attachments
Change History
comment:12 Changed 4 months ago by zaytsev
- Status changed from new to accepted
- Owner set to zaytsev
This bug is due to mc_refresh mock not being called and instead a real function being called instead. It will be fixed if mocking is generally fixed in tests.
comment:14 Changed 2 months ago by zaytsev
- Status changed from accepted to testing
- Component changed from mc-core to tests
- Resolution set to fixed
- Milestone changed from Future Releases to 4.8.33
This should be now fixed in #4584.
Note: See
TracTickets for help on using
tickets.