arti::cli_tests failing on osx
On my mac laptop, when I run this: cargo test -p arti --all-feauters -- cli_tests
I get this result:
Running tests/cli_tests.rs (target/debug/deps/cli_tests-9b7f26cd5f331987)
running 1 test
Testing README.md ... ignored
Testing tests/testcases/hsc/get-key-error.toml ... ignored
Testing tests/testcases/hsc/help.toml ... ignored
Testing tests/testcases/hsc/hsc.md ... ignored
Testing tests/testcases/hss/help.toml ... failed
Exit: success
---- expected: stdout
++++ actual: stdout
1 1 | Run state management commands for an Arti hidden service
2 2 |
3 3 | Usage: arti hss [OPTIONS] --nickname <HS_NICKNAME> <COMMAND>
4 4 |
5 5 | Commands:
6 6 | onion-name Print the .onion address of a hidden service
7 7 | help Print this message or the help of the given subcommand(s)
8 8 |
9 9 | Options:
10 10 | -c, --config <FILE> Specify which config file(s) to read. Defaults to
11 - [File("[..]"),
12 - Dir("[..]")]
11 + [File("/var/folders/3r/1m26v8_s5wj9kytkt62cmfwc0000gn/T/.tmp03f7YJ/Library/Application
12 + Support/org.torproject.Arti/arti.toml"),
13 + Dir("/var/folders/3r/1m26v8_s5wj9kytkt62cmfwc0000gn/T/.tmp03f7YJ/Library/Application
14 + Support/org.torproject.Arti/arti.d/")]
13 15 | -n, --nickname <HS_NICKNAME> The nickname of the service
14 16 | -o <KEY=VALUE> Override config file parameters, using TOML-like syntax.
15 17 | -l, --log-level <LEVEL> Override the log level (usually one of 'trace', 'debug',
16 18 | 'info', 'warn', 'error').
17 19 | --disable-fs-permission-checks Don't check permissions on the files we use.
18 20 | -h, --help Print help
stderr:
Testing tests/testcases/hss/hss.md:8 ... ok
Testing tests/testcases/hss/hss.md:11 ... ok
Update snapshots with `TRYCMD=overwrite`
Debug output with `TRYCMD=dump`
test cli_tests ... FAILED
failures:
---- cli_tests stdout ----
thread 'cli_tests' panicked at /Users/nickm/.cargo/registry/src/index.crates.io-6f17d22bba15001f/trycmd-0.15.6/src/runner.rs:106:17:
1 of 6 tests failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
cli_tests
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s
error: test failed, to rerun pass `-p arti --test cli_tests`
Please let me know if you need any more info to debug.
cc @gabi-250