From b65d5024ef5e61301a6c8c4380bc20f4949ac60d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 23 May 2022 12:35:02 -0400 Subject: fix: read raw stdin to prevent buffering (regression) (#14704) --- cli/tests/integration/task_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/task_tests.rs b/cli/tests/integration/task_tests.rs index 16370dabb..e2adc85d9 100644 --- a/cli/tests/integration/task_tests.rs +++ b/cli/tests/integration/task_tests.rs @@ -85,3 +85,9 @@ itest!(task_deno_exe_no_env { envs: vec![("NO_COLOR".to_string(), "1".to_string())], env_clear: true, }); + +itest!(task_piped_stdin { + args_vec: vec!["task", "-q", "--config", "task/deno.json", "piped"], + output: "task/task_piped_stdin.out", + envs: vec![("NO_COLOR".to_string(), "1".to_string())], +}); -- cgit v1.2.3