mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-04 16:26:46 -06:00
allow hyphen in db name to match its dir name (#6995)
This commit is contained in:
@@ -212,6 +212,7 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-commit: DOLT_COMMIT updates session variables" {
|
||||
export DOLT_DBNAME_REPLACE_HYPHENS="true"
|
||||
head_variable=@@dolt_repo_$$_head
|
||||
head_commit=$(get_head_commit)
|
||||
run dolt sql << SQL
|
||||
@@ -232,6 +233,7 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-commit: CALL DOLT_COMMIT updates session variables" {
|
||||
export DOLT_DBNAME_REPLACE_HYPHENS="true"
|
||||
head_variable=@@dolt_repo_$$_head
|
||||
head_commit=$(get_head_commit)
|
||||
run dolt sql << SQL
|
||||
@@ -252,6 +254,7 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-commit: DOLT_COMMIT with unstaged tables leaves them in the working set" {
|
||||
export DOLT_DBNAME_REPLACE_HYPHENS="true"
|
||||
head_variable=@@dolt_repo_$$_head
|
||||
|
||||
run dolt sql << SQL
|
||||
@@ -311,6 +314,7 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-commit: CALL DOLT_COMMIT with unstaged tables leaves them in the working set" {
|
||||
export DOLT_DBNAME_REPLACE_HYPHENS="true"
|
||||
head_variable=@@dolt_repo_$$_head
|
||||
|
||||
run dolt sql << SQL
|
||||
|
||||
Reference in New Issue
Block a user