Lines Matching refs:initial
364 Subprocess initial({"ping", "127.0.0.1", "-n", "100"}); in TEST() local
366 Subprocess initial = Subprocess({"sleep", "10000"}); in TEST()
368 initial.args.stdout_mode = Subprocess::kDevNull; in TEST()
369 initial.Start(); in TEST()
370 Subprocess moved(std::move(initial)); in TEST()
372 EXPECT_EQ(initial.Poll(), Subprocess::kNotStarted); in TEST()
376 initial = Subprocess({"cmd", "/c", "echo|set /p ignored_var=hello"}); in TEST()
378 initial = Subprocess({"echo", "-n", "hello"}); in TEST()
380 initial.args.stdout_mode = Subprocess::OutputMode::kBuffer; in TEST()
381 initial.Start(); in TEST()
382 initial.Wait(/*timeout=*/5000); in TEST()
383 EXPECT_EQ(initial.status(), Subprocess::kTerminated); in TEST()
384 EXPECT_EQ(initial.returncode(), 0); in TEST()
385 EXPECT_EQ(initial.output(), "hello"); in TEST()