mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
refactor: rewrite permission_test to not depend on Python (#8291)
This commit is contained in:
parent
e9edc05bed
commit
ccc95bc9b9
1 changed files with 3 additions and 6 deletions
|
@ -16,13 +16,10 @@ const test: { [key: string]: (...args: any[]) => void | Promise<void> } = {
|
|||
Deno.listen({ transport: "tcp", port: 4541 });
|
||||
},
|
||||
runRequired(): void {
|
||||
Deno.run({
|
||||
cmd: [
|
||||
"python",
|
||||
"-c",
|
||||
"import sys; sys.stdout.write('hello'); sys.stdout.flush()",
|
||||
],
|
||||
const p = Deno.run({
|
||||
cmd: ["printf", "hello"],
|
||||
});
|
||||
p.close();
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue