bats/remotes.bats: Add skipped test; working docs are stomped on pull

This commit is contained in:
Katie McCulloch
2020-04-09 17:05:52 -07:00
parent 45975f00be
commit 47e32be33e

View File

@@ -115,6 +115,7 @@ teardown() {
dolt push test-remote master
cd dolt-repo-clones/test-repo
echo "this text should remain after pull :p" > README.md
run dolt pull
[[ "$output" =~ "Updating" ]] || false
run dolt log
@@ -123,9 +124,9 @@ teardown() {
run cat LICENSE.md
[ "$status" -eq 0 ]
[[ "$output" =~ "updated-license" ]] || false
run cat README.md
skip run cat README.md
[ "$status" -eq 0 ]
[[ "$output" =~ "readme-text" ]] || false
[[ "$output" =~ "this text should remain after pull :p" ]] || false
}
@test "clone a remote" {