diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-04-26 14:46:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 14:46:49 -0400 |
commit | a1b4aa2ae60d215e38c6871fae690e34964a27d7 (patch) | |
tree | c41baf3067ca2a618bd458f1101bf9cf98506dae /cli/tests/integration | |
parent | f07f246ae8a158e33e81aa4ccf225cd536795f50 (diff) |
fix(test): capture inherited stdout and stderr for subprocesses in test output (#14395)
Diffstat (limited to 'cli/tests/integration')
-rw-r--r-- | cli/tests/integration/test_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 0b811349a..1e8db52fd 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -302,6 +302,12 @@ itest!(no_prompt_with_denied_perms { output: "test/no_prompt_with_denied_perms.out", }); +itest!(captured_subprocess_output { + args: "test --allow-run --allow-read --unstable test/captured_subprocess_output.ts", + exit_code: 0, + output: "test/captured_subprocess_output.out", +}); + #[test] fn recursive_permissions_pledge() { let output = util::deno_cmd() |