mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-14 18:18:55 -06:00
dolt/bats/remotes.bats: Add skipped bats test for cloning an empty remote
This commit is contained in:
@@ -10,6 +10,7 @@ setup() {
|
||||
export NOMS_VERSION_NEXT=1
|
||||
cd $BATS_TMPDIR
|
||||
mkdir remotes-$$
|
||||
mkdir remotes-$$/test-org-empty
|
||||
echo remotesrv log available here $BATS_TMPDIR/remotes-$$/remotesrv.log
|
||||
remotesrv --http-port 1234 --dir ./remotes-$$ &> ./remotes-$$/remotesrv.log 3>&- &
|
||||
mkdir dolt-repo-$$
|
||||
@@ -117,6 +118,15 @@ teardown() {
|
||||
[[ "$output" =~ "test commit" ]] || false
|
||||
}
|
||||
|
||||
@test "clone an empty remote" {
|
||||
skip "Cloning an empty remote is busted"
|
||||
run dolt clone localhost:50051/test-org/empty
|
||||
[ "$status" -eq 0 ]
|
||||
cd empty
|
||||
run dolt status
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
@test "clone a non-existant remote" {
|
||||
dolt remote add test-remote localhost:50051/test-org/test-repo --insecure
|
||||
cd "dolt-repo-clones"
|
||||
|
||||
Reference in New Issue
Block a user