Skip to content
Permalink
Browse files

test, feat: skip a process.run test case on Linux.

  • Loading branch information...
xicilion committed Apr 30, 2019
1 parent f7cbae9 commit 8a8d2e6f6e6112c0a6013b0d905b7858c606728a
Showing with 5 additions and 4 deletions.
  1. +5 −4 test/process_test.js
@@ -75,11 +75,12 @@ describe('process', () => {
assert.equal(process.run(cmd, [path.join(__dirname, 'process', 'exec14.js')]), 101);
});

it("run throw error", () => {
assert.throws(() => {
process.run("not_exists_exec_file");
if (require("os").type() != "Linux")
it("run throw error", () => {
assert.throws(() => {
process.run("not_exists_exec_file");
});
});
});

it("multi run", () => {
coroutine.parallel([1, 2, 3, 4, 5, 6], (n) => {

0 comments on commit 8a8d2e6

Please sign in to comment.
You can’t perform that action at this time.