Skip to content

Commit

Permalink
Workaround for drush bug
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Mar 29, 2018
1 parent b4bed53 commit b11904c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/7/tests
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ fi

check_rq() {
echo "Checking requirement: ${1} must be ${2}"
drush rq --format=json | jq ".\"${1}\".value" | grep -q "${2}"
# TODO: remove COLUMNS=0 with drush 8.1.17 release
# see https://github.com/drush-ops/drush/issues/3410
COLUMNS=0 drush rq --format=json | jq ".\"${1}\".value" | grep -q "${2}"
echo "OK"
}

check_status() {
echo "Checking status: ${1} must be ${2}"
drush status --format=yaml | grep -q "${1}: ${2}"
# TODO: remove COLUMNS=0 with drush 8.1.17 release
# see https://github.com/drush-ops/drush/issues/3410
COLUMNS=0 drush status --format=yaml | grep -q "${1}: ${2}"
echo "OK"
}

Expand Down

0 comments on commit b11904c

Please sign in to comment.