jj/tests
Jonathan Tan a9606a8269 tests: stop libgit2 from accessing config files
libgit2 by default will respect config files present on a user's
machine---in particular, when creating a new repo, it will read
`init.defaultBranch` to determine what the name of the default branch
should be. This makes the tests non-hermetic, so disable that feature.

On my machine, `init.defaultBranch` is set in system config. Without
this patch, `test_git_colocated` and
`test_git_colocated_rebase_on_import` fail, but with this patch, they
pass.
2022-08-30 14:45:02 -07:00
..
common tests: stop libgit2 from accessing config files 2022-08-30 14:45:02 -07:00
smoke_test.rs
test_alias.rs
test_branch_command.rs
test_checkout.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
test_concurrent_operations.rs
test_describe_command.rs
test_diff_command.rs
test_edit_command.rs
test_git_clone.rs
test_git_colocated.rs
test_git_push.rs
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs
test_init_command.rs
test_log_command.rs
test_move_command.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
test_new.rs
test_obslog_command.rs
test_operations.rs
test_print_command.rs
test_rebase_command.rs tests: replace a jj open X; jj co X by jj edit X 2022-08-26 23:34:52 -07:00
test_restore_command.rs
test_sparse_command.rs
test_split_command.rs
test_squash_command.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
test_touchup_command.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
test_undo.rs
test_unsquash_command.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
test_untrack_command.rs
test_workspaces.rs cli: do not discard working copy changes recovered from stale state 2022-08-19 00:11:23 +09:00