mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
Fix permission_prompt_test (#1509)
This commit is contained in:
parent
3b59323e42
commit
8ae178e9ce
1 changed files with 9 additions and 2 deletions
|
@ -11,8 +11,15 @@ const test = {
|
||||||
needsNet: () => {
|
needsNet: () => {
|
||||||
listen("tcp", "127.0.0.1:4540");
|
listen("tcp", "127.0.0.1:4540");
|
||||||
},
|
},
|
||||||
needsRun: () => {
|
needsRun: async () => {
|
||||||
run({ args: ["python", "-c", "import sys; sys.stdout.write('hello')"] });
|
const process = run({
|
||||||
|
args: [
|
||||||
|
"python",
|
||||||
|
"-c",
|
||||||
|
"import sys; sys.stdout.write('hello'); sys.stdout.flush()"
|
||||||
|
]
|
||||||
|
});
|
||||||
|
await process.status();
|
||||||
}
|
}
|
||||||
}[name];
|
}[name];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue