未验证 提交 8ae178e9 编写于 作者: R Ryan Dahl 提交者: GitHub

Fix permission_prompt_test (#1509)

上级 3b59323e
......@@ -11,8 +11,15 @@ const test = {
needsNet: () => {
listen("tcp", "127.0.0.1:4540");
},
needsRun: () => {
run({ args: ["python", "-c", "import sys; sys.stdout.write('hello')"] });
needsRun: async () => {
const process = run({
args: [
"python",
"-c",
"import sys; sys.stdout.write('hello'); sys.stdout.flush()"
]
});
await process.status();
}
}[name];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册