---- e2e::directories::dep_on_current_directory stdout ----
thread 'e2e::directories::dep_on_current_directory' panicked at tests/e2e/directories.rs:21:5:
assertion `left == right` failed
left: [98, 117, 105, 108, 100, 46, 110, 105, 110, 106, 97, 10, 102, 111, 111, 10, 111, 117, 116, 10]
right: [98, 117, 105, 108, 100, 46, 110, 105, 110, 106, 97, 10, 102, 111, 111, 10, 102, 111, 111, 50, 10, 111, 117, 116, 10]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Got this spontaneous failure, cannot reproduce:
The bytes are, correspondingly,
b"build.ninja\nfoo\nout\n"and
b"build.ninja\nfoo\nfoo2\nout\n"The code in question:
n2/tests/e2e/directories.rs
Lines 3 to 21 in bea43cd
Maybe a race condition between tests or a buffer did not get flushed?