summaryrefslogtreecommitdiff
path: root/crates/arti/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* arti: Implement the hsc subcommand using an inert tor client.Gabriela Moldovan2024-08-282-7/+3
| | | | | | | | | This allows us to reenable the `arti hsc` tests, which were previously disabled due to flakiness (see #1496). The `help` test bit rotted a bit, so I had to tweak its expected output. Closes #1496
* doc: Add arti hsc subcommand docs to doc/hsc.md.Gabriela Moldovan2024-08-051-28/+1
| | | | | This also makes the `tests/testcases/hsc/hsc.md` test case a symlink to `doc/hsc.md`.
* arti: Update the hsc markdown test.Gabriela Moldovan2024-08-051-3/+19
| | | | | | | This adds a bit more information to `hsc.md`. Note: `hsc.md` is currently just a test case for the CLI tests. A future commit promote it to module-level README.
* arti: Elide the -c help in the expected output of the CLI tests.Gabriela Moldovan2024-08-051-2/+1
| | | | | | | | | | | | The help output of the `-c ` option includes some local paths, which can be quite long on some platforms, spanning over multiple lines. This causes the CLI tests to fail, because they expect each of the paths from the `-c` help to fit on a single line. To fix this, we can use `trycmd`'s `...` to match as many lines as needed. Closes #1509
* Have `arti hss onion-name` error if it doesn't print the onion nameKunal Mehta2024-08-011-1/+2
| | | | | | | There are two error cases where the onion name isn't printed, but previously returned `Ok(())`. It now returns an error to exit with a non-zero status code.
* arti: Add tests for the arti hsc subcommand.Gabriela Moldovan2024-07-3020-0/+146
|
* arti: Add tests for the arti hss subcommand.Gabriela Moldovan2024-07-3011-0/+157
Closes #1250