diff options
Diffstat (limited to 't/t2404-worktree-config.sh')
-rwxr-xr-x | t/t2404-worktree-config.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t2404-worktree-config.sh b/t/t2404-worktree-config.sh index 286121d..842937b 100755 --- a/t/t2404-worktree-config.sh +++ b/t/t2404-worktree-config.sh @@ -2,6 +2,7 @@ test_description="config file in multi worktree" +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success 'setup' ' @@ -23,8 +24,10 @@ test_expect_success 'config --worktree without extension' ' ' test_expect_success 'enable worktreeConfig extension' ' + git config core.repositoryformatversion 1 && git config extensions.worktreeConfig true && - test_cmp_config true extensions.worktreeConfig + test_cmp_config true extensions.worktreeConfig && + test_cmp_config 1 core.repositoryformatversion ' test_expect_success 'config is shared as before' ' |