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

Commit 8084dde

Browse files
committed
Issue #1206: Fix syntax in failing builds.
1 parent 47f103c commit 8084dde

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/run-tests.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,15 @@ if [ $TEST_INSTALLED_EXTRAS = true ]; then
152152
fi
153153

154154
# Dashboard.
155-
docker exec $CONTAINER_ID curl -s --header Host:$IP localhost
156-
| grep -q "<li>$IP $HOSTNAME</li>"
157-
&& (echo 'Dashboard install pass' && exit 0)
155+
docker exec $CONTAINER_ID curl -s --header Host:$IP localhost \
156+
| grep -q "<li>$IP $HOSTNAME</li>" \
157+
&& (echo 'Dashboard install pass' && exit 0) \
158158
|| (echo 'Dashboard install fail' && exit 1)
159159

160160
# Drush.
161-
docker exec $CONTAINER_ID $DRUSH_BIN @$MACHINE_NAME.$HOSTNAME status
162-
| grep -q 'Drupal bootstrap.*Successful'
163-
&& (echo 'Drush install pass' && exit 0)
161+
docker exec $CONTAINER_ID $DRUSH_BIN @$MACHINE_NAME.$HOSTNAME status \
162+
| grep -q 'Drupal bootstrap.*Successful' \
163+
&& (echo 'Drush install pass' && exit 0) \
164164
|| (echo 'Drush install fail' && exit 1)
165165

166166
# Remove test container.

0 commit comments

Comments
 (0)