diff --git a/integration-tests/bats/remotes-push-pull.bats b/integration-tests/bats/remotes-push-pull.bats index cfa4b4477aa..47ddc1231cc 100644 --- a/integration-tests/bats/remotes-push-pull.bats +++ b/integration-tests/bats/remotes-push-pull.bats @@ -326,7 +326,7 @@ SQL @test "remotes-push-pull: try to push a remote that is behind tip" { dolt remote add test-remote http://localhost:50051/test-org/test-repo dolt push test-remote main - cd "dolt-repo-clones" + cd dolt-repo-clones dolt clone http://localhost:50051/test-org/test-repo cd .. dolt sql < main" ]] || false diff --git a/integration-tests/bats/remotes.bats b/integration-tests/bats/remotes.bats index f79690c826f..dc29ebd4b60 100644 --- a/integration-tests/bats/remotes.bats +++ b/integration-tests/bats/remotes.bats @@ -69,12 +69,12 @@ teardown() { cd repo2 dolt remote add test-remote file://../remote - dolt push test-remote main - dolt checkout -b other - dolt push test-remote other - dolt branch -a - dolt checkout main - dolt branch -d other + dolt fetch test-remote + + run dolt branch -a + [[ "$output" =~ "remotes/origin/other" ]] || false + [[ "$output" =~ "remotes/test-remote/other" ]] || false + run dolt branch [[ ! "$output" =~ "other" ]] || false