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 ----
error: command stdout mismatched:
[1mdiff --git a/empty.stdout b/
[1mindex e69de29..0000000 100644[m
[1m--- a/empty.stdout[m
[1m+++ b/
[36m@@ -0,0 +1,5 @@[m
[32m+[m[32margs: ArgsOs { inner: ["./output"] }[m
[32m+[m[32mstdin:[m
[32m+[m[32m[stdin end][m
[32m+[m[32mstdout[m
[32m+[m[32m�stdout�[m
error: stderr of the command is empty
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', 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
error: command stderr mismatched:
[1mdiff --git a/empty.stderr b/
[1mindex e69de29..0000000 100644[m
[1m--- a/empty.stderr[m
[1m+++ b/
[36m@@ -0,0 +1,2 @@[m
[32m+[m[32mstderr[m
[32m+[m[32m�stderr�[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', 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
�stdout�
failed to open $STDIO file $NOT_FOUND_ERROR
-------- normalized actual stderr --------
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 ----
error: command stdout mismatched:
[1mdiff --git a/empty.stdout b/
[1mindex e69de29..0000000 100644[m
[1m--- a/empty.stdout[m
[1m+++ b/
[36m@@ -0,0 +1,5 @@[m
[32m+[m[32margs: ArgsOs { inner: ["./output"] }[m
[32m+[m[32mstdin:[m
[32m+[m[32m[stdin end][m
[32m+[m[32mstdout[m
[32m+[m[32m�stdout�[m
error: stderr of the command is empty
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:406:30
---- normalize_to_empty_stdout stdout ----
error: stdout of the command is empty
error: command stderr mismatched:
[1mdiff --git a/empty.stderr b/
[1mindex e69de29..0000000 100644[m
[1m--- a/empty.stderr[m
[1m+++ b/
[36m@@ -0,0 +1,2 @@[m
[32m+[m[32mstderr[m
[32m+[m[32m�stderr�[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', 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
�stdout�
-------- stderr --------
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
�stdout�
updated stdout
-------- stderr --------
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
�stdout�
-------- stderr --------
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
?stdout�
error: command stderr mismatched:
[1mdiff --git a/output.stderr b/
[1mindex af6415d..0000000 100644[m
[1m--- a/output.stderr[m
[1m+++ b/
[36m@@ -1 +1,3 @@[m
stderr[m
[32m+[m[32m�stderr�[m
[32m+[m[32mupdated stderr[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:287:10
---- output_stdout stdout ----
error: command stdout mismatched:
[1mdiff --git a/output.stdout b/
[1mindex ec5e0db..0000000 100644[m
[1m--- a/output.stdout[m
[1m+++ b/
[36m@@ -2,3 +2,5 @@[m [margs: ArgsOs { inner: ["./output"] }[m
stdin:[m
[stdin end][m
stdout[m
[32m+[m[32m�stdout�[m
[32m+[m[32mupdated stdout[m
error: expected the command to have empty stderr, but it printed this (normalized):
stderr
�stderr�
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:278:10
---- output_stdout_stderr stdout ----
error: command stdout mismatched:
[1mdiff --git a/output.stdout b/
[1mindex ec5e0db..0000000 100644[m
[1m--- a/output.stdout[m
[1m+++ b/
[36m@@ -2,3 +2,5 @@[m [margs: ArgsOs { inner: ["./output"] }[m
stdin:[m
[stdin end][m
stdout[m
[32m+[m[32m�stdout�[m
[32m+[m[32mupdated stdout[m
error: command stderr mismatched:
[1mdiff --git a/output.stderr b/
[1mindex af6415d..0000000 100644[m
[1m--- a/output.stderr[m
[1m+++ b/
[36m@@ -1 +1,3 @@[m
stderr[m
[32m+[m[32m�stderr�[m
[32m+[m[32mupdated stderr[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:270:10
---- output_stdout_stderr_fail stdout ----
error: command stdout mismatched:
[1mdiff --git a/output.stdout b/
[1mindex ec5e0db..0000000 100644[m
[1m--- a/output.stdout[m
[1m+++ b/
[36m@@ -2,3 +2,5 @@[m [margs: ArgsOs { inner: ["./output"] }[m
stdin:[m
[stdin end][m
stdout[m
[32m+[m[32m�stdout�[m
[32m+[m[32mupdated stdout[m
error: command stderr mismatched:
[1mdiff --git a/output.stderr b/
[1mindex af6415d..0000000 100644[m
[1m--- a/output.stderr[m
[1m+++ b/
[36m@@ -1 +1,3 @@[m
stderr[m
[32m+[m[32m�stderr�[m
[32m+[m[32mupdated stderr[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', tests/ui.rs:309:10
---- output_stdout_stderr_status stdout ----
error: command stdout mismatched:
[1mdiff --git a/output.stdout b/
[1mindex ec5e0db..0000000 100644[m
[1m--- a/output.stdout[m
[1m+++ b/
[36m@@ -2,3 +2,5 @@[m [margs: ArgsOs { inner: ["./output"] }[m
stdin:[m
[stdin end][m
stdout[m
[32m+[m[32m�stdout�[m
[32m+[m[32mupdated stdout[m
error: command stderr mismatched:
[1mdiff --git a/output.stderr b/
[1mindex af6415d..0000000 100644[m
[1m--- a/output.stderr[m
[1m+++ b/
[36m@@ -1 +1,3 @@[m
stderr[m
[32m+[m[32m�stderr�[m
[32m+[m[32mupdated stderr[m
thread 'main' panicked at 'actual command output does not match the expectation: "./output"', 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