From 27e9ed6e9819794220fa7bd682125116ae76d3c4 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 13 Jan 2015 16:28:56 +0300 Subject: [PATCH] test: fix setproctitle on FreeBSD PR-URL: https://github.com/iojs/io.js/pull/332 Reviewed-By: Ben Noordhuis --- test/sequential/test-setproctitle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-setproctitle.js b/test/sequential/test-setproctitle.js index 961b20f3470..b7e6dd8b552 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);