diff --git a/tests/test_hide.bats b/tests/test_hide.bats index e2cf3781..561ba55d 100644 --- a/tests/test_hide.bats +++ b/tests/test_hide.bats @@ -70,6 +70,12 @@ function teardown { } @test "run 'hide' from inside subdirectory" { + + if [[ "$BATS_RUNNING_FROM_GIT" -eq 1 ]]; then + # See #334 for more about this + skip "this test is skipped while 'git commit'" + fi + # Preparations: local root_dir='test_sub_dir' mkdir -p "$root_dir"