Skip to content

Help fs-mistrust tests on their way on Windows

Alexander Hansen Færøy requested to merge ahf/arti:ahf/557-mistrust-fixes into main

These patches are all part of #557 (closed) in an attempt to get Windows tests to pass for all of Arti.

With these patches applied we currently build cleanly on Unix (Linux) and on Windows we have the following 3 test failures:

failures:

---- test::multiple_errors stdout ----
thread 'test::multiple_errors' panicked at 'assertion failed: matches!(e, Error :: Multiple(_))', crates\fs-mistrust\src\lib.rs:1016:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test::check_contents stdout ----
thread 'test::check_contents' panicked at 'called `Result::unwrap_err()` on an `Ok` value: ()', crates\fs-mistrust\src\lib.rs:1150:14

---- test::readable_ok stdout ----
thread 'test::readable_ok' panicked at 'called `Result::unwrap_err()` on an `Ok` value: ()', crates\fs-mistrust\src\lib.rs:963:51


failures:
    test::check_contents
    test::multiple_errors
    test::readable_ok

test result: FAILED. 12 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

error: test failed, to rerun pass '-p fs-mistrust --lib'

Assigning to Nick as he has already been doing a lot of the related work for this ticket.

Merge request reports