mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-01 11:49:54 -05:00
integration-tests/bats: sql-shell.bats: Fix test to not rely on pid of the bats process. Make it a little faster.
This commit is contained in:
@@ -34,12 +34,12 @@ teardown() {
|
||||
echo "$output"
|
||||
|
||||
# 2 tables are created. 1 from above and 1 in the expect file.
|
||||
[[ "$output" =~ "+---------------------------+" ]] || false
|
||||
[[ "$output" =~ "Tables_in_dolt_repo_" ]] || false
|
||||
[[ "$output" =~ "+---------------------------+" ]] || false
|
||||
[[ "$output" =~ "| test |" ]] || false
|
||||
[[ "$output" =~ "| test_expect |" ]] || false
|
||||
[[ "$output" =~ "+---------------------------+" ]] || false
|
||||
[[ "$output" =~ "+---------------------" ]] || false
|
||||
[[ "$output" =~ "| Tables_in_dolt_repo_" ]] || false
|
||||
[[ "$output" =~ "+---------------------" ]] || false
|
||||
[[ "$output" =~ "| test " ]] || false
|
||||
[[ "$output" =~ "| test_expect " ]] || false
|
||||
[[ "$output" =~ "+---------------------" ]] || false
|
||||
}
|
||||
|
||||
@test "sql-shell: bad sql in sql shell should error" {
|
||||
|
||||
Reference in New Issue
Block a user