diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 190a2648ad..fa6382f627 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -306,7 +306,7 @@ get_config_file_path_if_exists() { # e.g., docker_process_init_files /always-initdb.d/* # Processes initializer files based on file extensions. docker_process_init_files() { - local f sql + local f echo for f; do case "$f" in diff --git a/integration-tests/bats/docker-entrypoint.bats b/integration-tests/bats/docker-entrypoint.bats index c811ce4970..926bd342ee 100644 --- a/integration-tests/bats/docker-entrypoint.bats +++ b/integration-tests/bats/docker-entrypoint.bats @@ -162,7 +162,6 @@ wait_for_log() { [ $status -eq 0 ] [[ "$output" =~ "Tables_in_versioning,Table_type" ]] || false - # Can use the database for operations run docker exec "$cname" dolt sql -q "USE \`$kw_db\`; CREATE TABLE test_table (id INT);" [ $status -eq 0 ] } @@ -996,7 +995,7 @@ EOF run grep -F "[0] [System] [Dolt] [Server]" /tmp/"${cname}".log [ $status -eq 0 ] - run ! grep -F "level=" /tmp/"${cname}".log + run grep -F "level=" /tmp/"${cname}".log [ $status -ne 0 ] }