File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,14 +161,11 @@ FIRST_RUN_MARKER="$SCRIPT_DIR/.configured"
161161BACKUP_PREFIX=" webdev_backup"
162162DATE_FORMAT=" %Y-%m-%d_%H-%M-%S"
163163
164- # When running the test suite, use test defaults if user has not configured source/dest
164+ # When running the test suite, always use test defaults (CI and local runs)
165+ # This overrides user config so tests pass regardless of committed paths
165166if [ -n " ${RUNNING_TESTS:- } " ]; then
166- if [ ${# DEFAULT_SOURCE_DIRS[@]} -eq 0 ]; then
167- DEFAULT_SOURCE_DIRS=(" $SCRIPT_DIR /test-projects" )
168- fi
169- if [ -z " $DEFAULT_BACKUP_DIR " ]; then
170- DEFAULT_BACKUP_DIR=" $SCRIPT_DIR /test/backup_out"
171- fi
167+ DEFAULT_SOURCE_DIRS=(" $SCRIPT_DIR /test" )
168+ DEFAULT_BACKUP_DIR=" $SCRIPT_DIR /test/backup_out"
172169fi
173170
174171# ----------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments