Skip to content

Commit

Permalink
test: enable test-debug-brk-no-arg
Browse files Browse the repository at this point in the history
Fix issues with disabled test-debug-brk-no-arg and re-enable the test.

PR-URL: #7143
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
Trott committed Jun 7, 2016
1 parent a78c233 commit 101bda1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/disabled/test-debug-brk-no-arg.js

This file was deleted.

13 changes: 13 additions & 0 deletions test/parallel/test-debug-brk-no-arg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';
const common = require('../common');
const assert = require('assert');
const spawn = require('child_process').spawn;

const child = spawn(process.execPath, ['--debug-brk=' + common.PORT, '-i']);
child.stderr.once('data', common.mustCall(function() {
child.stdin.end('.exit');
}));

child.on('exit', common.mustCall(function(c) {
assert.strictEqual(c, 0);
}));

0 comments on commit 101bda1

Please sign in to comment.