Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Explicitly cd into Drupal working dir for Drush test.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Oct 17, 2018
1 parent 21b5518 commit 35a277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-tests.sh
Expand Up @@ -183,7 +183,7 @@ docker exec $CONTAINER_ID curl -sSi --header Host:$IP localhost \
# || (echo 'Drush install fail' && cat /tmp/dvm-test && exit 1)

# Drush.
docker exec $CONTAINER_ID $DRUSH_BIN status \
docker exec $CONTAINER_ID bash -c "cd $DRUPALVM_DIR/drupal && $DRUSH_BIN status" \
| tee /tmp/dvm-test \
| grep -q 'Drush' \
&& (echo 'Drush install pass' && exit 0) \
Expand Down

0 comments on commit 35a277d

Please sign in to comment.