diff --git a/build.xml b/build.xml index e24f8b5..e6949d7 100644 --- a/build.xml +++ b/build.xml @@ -318,6 +318,7 @@ + @@ -412,6 +413,7 @@ + diff --git a/patches/test/simple/test-setproctitle.js.patch b/patches/test/simple/test-setproctitle.js.patch new file mode 100644 index 0000000..1dc4452 --- /dev/null +++ b/patches/test/simple/test-setproctitle.js.patch @@ -0,0 +1,17 @@ +--- ../node/test/simple/test-setproctitle.js 2013-08-22 13:48:54.000000000 +0200 ++++ ./test/simple/test-setproctitle.js 2014-01-09 10:37:55.000000000 +0100 +@@ -40,6 +40,8 @@ + process.title = title; + assert.equal(process.title, title); + ++// On Mac avatar-js java process name can't be changed. ++if (process.platform !== 'darwin') { + exec('ps -p ' + process.pid + ' -o args=', function(error, stdout, stderr) { + assert.equal(error, null); + assert.equal(stderr, ''); +@@ -50,3 +52,4 @@ + // omitting trailing whitespace and \n + assert.equal(stdout.replace(/\s+$/, ''), title); + }); ++} +\ No newline at end of file diff --git a/project.properties b/project.properties index 4e8d394..fb27bc3 100644 --- a/project.properties +++ b/project.properties @@ -512,6 +512,7 @@ source.test.simple.list = \ test-script-static-new.js \ test-script-static-this.js \ test-script-this.js \ + test-setproctitle.js \ test-sigint-infinite-loop.js \ test-signal-unregister.js \ test-socket-write-after-fin-error.js \