Skip to content

Commit 13ec3db

Browse files
committed
Updated snapshots.
1 parent 7f4bf2d commit 13ec3db

34 files changed

Lines changed: 58 additions & 70 deletions

File tree

.vortex/installer/tests/Fixtures/handler_process/_baseline/scripts/custom/provision-10-example.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ set -eu
1919

2020
# ------------------------------------------------------------------------------
2121

22-
# @formatter:off
23-
info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
22+
info() { printf " ==> %s\n" "${1}"; }
2423
note() { printf " %s\n" "${1}"; }
25-
task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
26-
pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
27-
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; }
28-
# @formatter:on
24+
task() { printf " > %s\n" "${1}"; }
25+
pass() { printf " < %s\n" "${1}"; }
2926

3027
drush() { ./vendor/bin/drush -y "$@"; }
3128

.vortex/installer/tests/Fixtures/handler_process/custom_modules_no_base/scripts/custom/provision-10-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -64,7 +64,6 @@
1+
@@ -61,7 +61,6 @@
22
# Note that deployment hooks for already enabled modules have run in the
33
# parent "provision.sh" script.
44
task "Installing custom site modules."

.vortex/installer/tests/Fixtures/handler_process/custom_modules_no_demo/scripts/custom/provision-10-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -68,7 +68,6 @@
1+
@@ -65,7 +65,6 @@
22

33
drush pm:install sw_search
44

.vortex/installer/tests/Fixtures/handler_process/custom_modules_no_search/scripts/custom/provision-10-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -66,8 +66,6 @@
1+
@@ -63,8 +63,6 @@
22
task "Installing custom site modules."
33
drush pm:install sw_base
44

.vortex/installer/tests/Fixtures/handler_process/custom_modules_none/scripts/custom/provision-10-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -64,11 +64,7 @@
1+
@@ -61,11 +61,7 @@
22
# Note that deployment hooks for already enabled modules have run in the
33
# parent "provision.sh" script.
44
task "Installing custom site modules."

.vortex/installer/tests/Fixtures/handler_process/custom_modules_search_without_solr/scripts/custom/provision-10-example.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -55,10 +55,6 @@
1+
@@ -52,10 +52,6 @@
22
drush config-set clamav.settings mode_daemon_tcpip.hostname clamav
33
pass "Installed and configured ClamAV."
44

@@ -9,7 +9,7 @@
99
# Enable custom site module and run its deployment hooks.
1010
#
1111
# Note that deployment hooks for already enabled modules have run in the
12-
@@ -65,8 +61,6 @@
12+
@@ -62,8 +58,6 @@
1313
# parent "provision.sh" script.
1414
task "Installing custom site modules."
1515
drush pm:install sw_base

.vortex/installer/tests/Fixtures/handler_process/migration_download_source_acquia/scripts/custom/provision-20-migration.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ VORTEX_DOWNLOAD_DB2_FILE="${VORTEX_DOWNLOAD_DB2_FILE:-db2.sql}"
4040
# ------------------------------------------------------------------------------
4141

4242
# @formatter:off
43-
info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
43+
info() { printf " ==> %s\n" "${1}"; }
4444
note() { printf " %s\n" "${1}"; }
45-
task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
46-
pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
47-
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; }
45+
task() { printf " > %s\n" "${1}"; }
46+
pass() { printf " < %s\n" "${1}"; }
4847
# @formatter:on
4948

5049
drush() { ./vendor/bin/drush -y "$@"; }

.vortex/installer/tests/Fixtures/handler_process/migration_download_source_container_registry/scripts/custom/provision-20-migration.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ VORTEX_DOWNLOAD_DB2_FILE="${VORTEX_DOWNLOAD_DB2_FILE:-db2.sql}"
4040
# ------------------------------------------------------------------------------
4141

4242
# @formatter:off
43-
info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
43+
info() { printf " ==> %s\n" "${1}"; }
4444
note() { printf " %s\n" "${1}"; }
45-
task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
46-
pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
47-
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; }
45+
task() { printf " > %s\n" "${1}"; }
46+
pass() { printf " < %s\n" "${1}"; }
4847
# @formatter:on
4948

5049
drush() { ./vendor/bin/drush -y "$@"; }

.vortex/installer/tests/Fixtures/handler_process/migration_download_source_ftp/scripts/custom/provision-20-migration.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ VORTEX_DOWNLOAD_DB2_FILE="${VORTEX_DOWNLOAD_DB2_FILE:-db2.sql}"
4040
# ------------------------------------------------------------------------------
4141

4242
# @formatter:off
43-
info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
43+
info() { printf " ==> %s\n" "${1}"; }
4444
note() { printf " %s\n" "${1}"; }
45-
task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
46-
pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
47-
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; }
45+
task() { printf " > %s\n" "${1}"; }
46+
pass() { printf " < %s\n" "${1}"; }
4847
# @formatter:on
4948

5049
drush() { ./vendor/bin/drush -y "$@"; }

.vortex/installer/tests/Fixtures/handler_process/migration_download_source_lagoon/scripts/custom/provision-20-migration.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ VORTEX_DOWNLOAD_DB2_FILE="${VORTEX_DOWNLOAD_DB2_FILE:-db2.sql}"
4040
# ------------------------------------------------------------------------------
4141

4242
# @formatter:off
43-
info() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[36m[INFO] %s\033[0m\n" "${1}" || printf "[INFO] %s\n" "${1}"; }
43+
info() { printf " ==> %s\n" "${1}"; }
4444
note() { printf " %s\n" "${1}"; }
45-
task() { _TASK_START=$(date +%s); [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[34m[TASK] %s\033[0m\n" "${1}" || printf "[TASK] %s\n" "${1}"; }
46-
pass() { _d=""; [ -n "${_TASK_START:-}" ] && _d=" ($(($(date +%s) - _TASK_START))s)" && unset _TASK_START; [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[32m[ OK ] %s%s\033[0m\n" "${1}" "${_d}" || printf "[ OK ] %s%s\n" "${1}" "${_d}"; }
47-
fail() { [ "${TERM:-}" != "dumb" ] && tput colors >/dev/null 2>&1 && printf "\033[31m[FAIL] %s\033[0m\n" "${1}" || printf "[FAIL] %s\n" "${1}"; }
45+
task() { printf " > %s\n" "${1}"; }
46+
pass() { printf " < %s\n" "${1}"; }
4847
# @formatter:on
4948

5049
drush() { ./vendor/bin/drush -y "$@"; }

0 commit comments

Comments
 (0)