Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seems like drush does some internal formatting which makes the output useless ("Overridden" gets broken up into 10 lines with 1 letter each)
Any ideas?
@api
Scenario: No features are overridden # features/installation.feature:12
Given I run drush "features-list" # FeatureContext::assertDrushCommand()
Then drush output should contain "Overridden" # FeatureContext::assertDrushOutput()
The last drush command output did not contain 'Overridden'.
Instead, it was:
Name Feature Status Version S
t
a
t
e
Commons Activity Page commons_activity_page Enabled 7.x-3.3+1532-dev
Commons Activity Streams commons_activity_streams Enabled 7.x-3.3+1532-dev
Commons Activity Streams commons_activity_streams Enabled 7.x-3.3+1532-dev
Groups _groups
Commons Body Field commons_body Enabled 7.x-3.3+1532-dev
Commons Tabbed Browsing Widget commons_bw Enabled 7.x-3.3+1532-dev
Commons Polls commons_polls Enabled 7.x-3.3+1532-dev O
v
e
r
r
i
d
d
e
n
Comments
Comment #1
jhedstromI wonder if when checking output, we could strip newlines, and replace all multiple spaces with single spaces. Alternatively, drush 6 supports output formats, so we could try to compare a different format.
Comment #2
rb2k CreditAttribution: rb2k commentedI wasn't able to get anything useful with output formats (or --pipe) and feature-list from drush 6.
I think the feature module doesn't implement it...
Comment #3
rb2k CreditAttribution: rb2k commentedFor now, I use this horrible fix:
(together with https://drupal.org/node/2100105 )
Comment #4
b2f CreditAttribution: b2f commentedUsing drush version 5.7 on kubuntu, I coundn't reproduce this issue. The state column is formatted as it should. Anyone else notice this bug ? What environement are you using ?
I think we need more info. What is the ouput of your "drush features-list" command when used without behat ?
More people need to try this scenario and give us their results. It could be related to your console setup.
Comment #5
b2f CreditAttribution: b2f commentedComment #6
eliza411 CreditAttribution: eliza411 commentedSince this is a year old and we've been unable to reproduce this, I'm marking it closed. If it's still a problem, please don't hesitate to reopen it.