#!/usr/bin/env bats load $BATS_TEST_DIRNAME/helper/common.bash load $BATS_TEST_DIRNAME/helper/query-server-common.bash setup() { skiponwindows "tests are flaky on Windows" if [ "$SQL_ENGINE" = "remote-engine" ]; then skip "This test tests remote connections directly, SQL_ENGINE is not needed." fi setup_common TMPDIRS=$(pwd)/tmpdirs mkdir -p $TMPDIRS/repo1 cd $TMPDIRS/repo1 dolt init dolt sql <