diff options
author | Fedor Indutny <fedor@indutny.com> | 2015-01-13 16:28:56 +0300 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2015-01-13 20:36:44 +0300 |
commit | 27e9ed6e9819794220fa7bd682125116ae76d3c4 (patch) | |
tree | 85bae9ad697e1939291c0c2deab7008cfccde47d /test | |
parent | ccc91aea35c70fbae152a09253879da96f41dfd9 (diff) | |
download | node-new-27e9ed6e9819794220fa7bd682125116ae76d3c4.tar.gz |
test: fix setproctitle on FreeBSD
PR-URL: https://github.com/iojs/io.js/pull/332
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test')
-rw-r--r-- | test/sequential/test-setproctitle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-setproctitle.js b/test/sequential/test-setproctitle.js index 961b20f347..b7e6dd8b55 100644 --- a/test/sequential/test-setproctitle.js +++ b/test/sequential/test-setproctitle.js @@ -24,7 +24,7 @@ exec('ps -p ' + process.pid + ' -o args=', function(error, stdout, stderr) { assert.equal(stderr, ''); // freebsd always add ' (procname)' to the process title - if (process.platform === 'freebsd') title += ' (node)'; + if (process.platform === 'freebsd') title += ' (iojs)'; // omitting trailing whitespace and \n assert.equal(stdout.replace(/\s+$/, ''), title); |