Skip to content

Commit 27e9ed6

Browse files
committed
test: fix setproctitle on FreeBSD
PR-URL: #332 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent ccc91ae commit 27e9ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-setproctitle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exec('ps -p ' + process.pid + ' -o args=', function(error, stdout, stderr) {
2424
assert.equal(stderr, '');
2525

2626
// freebsd always add ' (procname)' to the process title
27-
if (process.platform === 'freebsd') title += ' (node)';
27+
if (process.platform === 'freebsd') title += ' (iojs)';
2828

2929
// omitting trailing whitespace and \n
3030
assert.equal(stdout.replace(/\s+$/, ''), title);

0 commit comments

Comments
 (0)