mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 08:50:01 -06:00
integration-tests/bats: Skip some tests where we use dolt init in SQL_ENGINE=remote-engine mode.
This commit is contained in:
@@ -208,6 +208,10 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-shell: specify data-dir" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
# remove config files
|
||||
rm -rf .doltcfg
|
||||
rm -rf db_dir
|
||||
@@ -378,6 +382,10 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-shell: specify data-dir and doltcfg-dir" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
# remove config files
|
||||
rm -rf .doltcfg
|
||||
rm -rf db_dir
|
||||
@@ -477,6 +485,10 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-shell: specify data-dir and privilege-file" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
# remove config files
|
||||
rm -rf .doltcfg
|
||||
rm -rf db_dir
|
||||
@@ -618,6 +630,10 @@ SQL
|
||||
}
|
||||
|
||||
@test "sql-shell: specify data directory, cfg directory, and privilege file" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
# remove config files
|
||||
rm -rf .doltcfg
|
||||
rm -rf db_dir
|
||||
@@ -729,6 +745,10 @@ SQL
|
||||
|
||||
|
||||
@test "sql-shell: .doltcfg in parent directory errors" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
# remove existing directories
|
||||
rm -rf .doltcfg
|
||||
rm -rf inner_db
|
||||
|
||||
@@ -60,6 +60,10 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "undrop: undrop root database with hyphen replaced in its name" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
export DOLT_DBNAME_REPLACE="true"
|
||||
setup_remote_server
|
||||
# Create a new Dolt database directory to use as a root database
|
||||
@@ -97,6 +101,10 @@ EOF
|
||||
}
|
||||
|
||||
@test "undrop: undrop root database with hyphen allowed in its name" {
|
||||
if [ "$SQL_ENGINE" = "remote-engine" ]; then
|
||||
skip "Remote behavior differs"
|
||||
fi
|
||||
|
||||
setup_remote_server
|
||||
# Create a new Dolt database directory to use as a root database
|
||||
# NOTE: We use hyphens here to test how db dirs are renamed.
|
||||
|
||||
Reference in New Issue
Block a user