jj/lib/tests
Benjamin Tan 194ee8761c tests: gpg: reduce length of temporary homedir path
Apparently `gpg-agent` will fail to start if the `--homedir` path is too
long:

```
> gpg-agent --homedir=/private/tmp/nix-build-jujutsu-0.29.0-unstable-8769c5c.drv-0/jj-gpg-signing-test-4I0aI0/ --daemon
gpg-agent[6617]: directory '/private/tmp/nix-build-jujutsu-0.29.0-unstable-8769c5c.drv-0/jj-gpg-signing-test-4I0aI0/private-keys-v1.d' created
gpg-agent[6617]: socket name '/private/tmp/nix-build-jujutsu-0.29.0-unstable-8769c5c.drv-0/jj-gpg-signing-test-4I0aI0/S.gpg-agent.extra' is too long
```

I only discovered this after reading a comment on StackOverflow [0].

[0]: https://superuser.com/questions/1087554/when-adding-a-gpg-key-with-homedir-parameter-error#comment1684440_1130507
2025-05-11 13:13:26 +00:00
..
runner.rs jj fix: Refactor jj fix CLI, move some logic to lib to make it usable in other tools (e.g. in servers). 2025-03-16 17:59:22 +00:00
test_annotate.rs annotate: reorganize functions as restartable process 2025-04-21 12:38:38 +00:00
test_bad_locking.rs lib: rename the LocalBackend to SimpleBackend 2025-03-17 17:17:11 +00:00
test_commit_builder.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_commit_concurrent.rs lib: rename the LocalBackend to SimpleBackend 2025-03-17 17:17:11 +00:00
test_conflicts.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_default_revset_graph_iterator.rs cleanup: enable unused_trait_names clippy lint and run clippy --fix 2025-03-16 00:35:56 +00:00
test_fix.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_git.rs git: write change-id header by default 2025-05-08 23:05:38 +00:00
test_git_backend.rs tests: factor out utility function is_external_tool_installed 2025-04-24 15:48:08 +00:00
test_gpg.rs tests: gpg: reduce length of temporary homedir path 2025-05-11 13:13:26 +00:00
test_id_prefix.rs git: write change-id header by default 2025-05-08 23:05:38 +00:00
test_index.rs view: port bookmark/tag name types to RefName/RemoteName 2025-03-26 11:07:06 +00:00
test_init.rs view: rename workspace "id" to "name" 2025-03-31 03:39:29 +00:00
test_load_repo.rs repo: remove &UserSettings argument from new/rewrite_commit(), use self.settings 2024-12-31 10:51:57 +09:00
test_local_working_copy.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_local_working_copy_concurrent.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_local_working_copy_sparse.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_merge_trees.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_merged_tree.rs copies: ignore existing tree when testing copy/rename operation type 2025-04-22 00:44:13 +00:00
test_mut_repo.rs repo: mark view dirty after setting local bookmark target 2025-04-17 03:25:29 +00:00
test_operations.rs transaction: propagate error from tx.write() 2025-04-12 06:56:13 +00:00
test_refs.rs cleanup: enable unused_trait_names clippy lint and run clippy --fix 2025-03-16 00:35:56 +00:00
test_revset.rs git: write change-id header by default 2025-05-08 23:05:38 +00:00
test_rewrite.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_rewrite_duplicate.rs test: introduce test helpers for creating repo path types 2025-04-15 14:42:23 +00:00
test_rewrite_transform.rs repo: MutableRepo::transform_descendants_with_options: add new_parents_map 2025-04-05 16:03:03 +00:00
test_signing.rs lib: rename the LocalBackend to SimpleBackend 2025-03-17 17:17:11 +00:00
test_ssh_signing.rs tests: do not mark SSH private key as executable 2025-03-18 01:24:47 +00:00
test_view.rs view: rename workspace "id" to "name" 2025-03-31 03:39:29 +00:00
test_workspace.rs view: rename workspace "id" to "name" 2025-03-31 03:39:29 +00:00