mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
15 lines
477 B
JavaScript
15 lines
477 B
JavaScript
![]() |
var helper = require('./helper.js'),
|
||
|
fs = require('fs');
|
||
|
|
||
|
helper.create_test('cluster-stdout-sig', 'cluster-stdout-sig/test1.js', null, function() {
|
||
|
helper.logrotate(function(logrotate) {
|
||
|
setTimeout(function() {
|
||
|
helper.launch("kill", ['-USR2', fs.readFileSync('process.pid')], null, function(code) {
|
||
|
assert.equal(code, 0);
|
||
|
});
|
||
|
}, 500);
|
||
|
});
|
||
|
}, function(stdout) {
|
||
|
helper.check_content(stdout, 'cluster-stdout-sig/output1');
|
||
|
}).export(module);
|