running 18 tests
test empty_stderr ... FAILED
test empty_stdout ... FAILED
test empty_stdout_stderr ... FAILED
test fail_to_open_output ... FAILED
test normalize_to_empty_stderr ... FAILED
test normalize_to_empty_stdout ... FAILED
test normalize_to_empty_stdout_stderr ... FAILED
test output_fail ... FAILED
test output_fail_empty_output ... FAILED
test output_fail_update ... FAILED
test output_ok ... ok
test output_status ... FAILED
test output_stderr ... FAILED
test output_stdout ... FAILED
test output_stdout_stderr ... FAILED
test output_stdout_stderr_fail ... FAILED
test output_stdout_stderr_status ... FAILED
test probe ... ok
failures:
---- empty_stderr stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "empty.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "empty.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
', tests/ui.rs:400:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- empty_stdout stdout ----
error: stdout of the command is empty
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "empty.stderr", "-"] }
stdin:
stderr
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stderr (expected to match file "empty.stderr") --------
stderr
', tests/ui.rs:386:10
---- empty_stdout_stderr stdout ----
error: stdout of the command is empty
error: stderr of the command is empty
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:372:10
---- fail_to_open_output stdout ----
failed to open $STDIO file $NOT_FOUND_ERROR
-------- normalized actual stdout --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
failed to open $STDIO file $NOT_FOUND_ERROR
-------- normalized actual stderr --------
stderr
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:249:30
---- normalize_to_empty_stderr stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "empty.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "empty.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
', tests/ui.rs:406:30
---- normalize_to_empty_stdout stdout ----
error: stdout of the command is empty
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "empty.stderr", "-"] }
stdin:
stderr
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stderr (expected to match file "empty.stderr") --------
stderr
', tests/ui.rs:392:30
---- normalize_to_empty_stdout_stderr stdout ----
error: stdout of the command is empty
error: stderr of the command is empty
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:378:30
---- output_fail stdout ----
thread 'main' panicked at '
unexpected command exit status $EXIT_CODE
-------- command --------
"./output"
-------- stdout --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
-------- stderr --------
stderr
', tests/ui.rs:333:10
---- output_fail_empty_output stdout ----
thread 'main' panicked at '
unexpected command exit status $EXIT_CODE
-------- command --------
"./output"
-------- stdout --------
-------- stderr --------
', tests/ui.rs:363:10
---- output_fail_update stdout ----
thread 'main' panicked at '
unexpected command exit status $EXIT_CODE
-------- command --------
"./output"
-------- stdout --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
-------- stderr --------
stderr
updated stderr
', tests/ui.rs:353:10
---- output_status stdout ----
thread 'main' panicked at '
unexpected command exit status $EXIT_CODE
-------- command --------
"./output"
-------- stdout --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
-------- stderr --------
stderr
', tests/ui.rs:339:52
---- output_stderr stdout ----
error: expected the command to have empty stdout, but it printed this (normalized):
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "output.stderr", "-"] }
stdin:
stderr
updated stderr
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stderr (expected to match file "output.stderr") --------
stderr
updated stderr
', tests/ui.rs:287:10
---- output_stdout stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "output.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "output.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
', tests/ui.rs:278:10
---- output_stdout_stderr stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "output.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "output.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
', tests/ui.rs:270:10
---- output_stdout_stderr_fail stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "output.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "output.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
', tests/ui.rs:309:10
---- output_stdout_stderr_status stdout ----
thread 'main' panicked at '
git diff failed $EXIT_CODE
-------- stdout --------
args: ArgsOs { inner: ["./output", "diff", "--no-index", "--color", "--", "output.stdout", "-"] }
stdin:
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
[stdin end]
stdout
-------- stderr --------
stderr
-------- normalized actual command stdout (expected to match file "output.stdout") --------
args: ArgsOs { inner: ["./output"] }
stdin:
[stdin end]
stdout
updated stdout
', tests/ui.rs:323:10
failures:
empty_stderr
empty_stdout
empty_stdout_stderr
fail_to_open_output
normalize_to_empty_stderr
normalize_to_empty_stdout
normalize_to_empty_stdout_stderr
output_fail
output_fail_empty_output
output_fail_update
output_status
output_stderr
output_stdout
output_stdout_stderr
output_stdout_stderr_fail
output_stdout_stderr_status