Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix tests

  • Loading branch information...
commit ade8b881c88437b37d5dea08d36e0824f8b1f0ed 1 parent cce764b
Bertrand Paquet authored
View
2  test/helper.js
@@ -32,7 +32,7 @@ function launch(command, args, pid_file, callback) {
function remove_test_files() {
fs.readdirSync('.').forEach(function(i) {
- if (i.match(/^test.log.*$/)) {
+ if (i.match(/^test.log.*$/) || i.match(/^process.*/)) {
fs.unlinkSync(i);
}
});
View
1  test/multiple-appender/output1
@@ -1,3 +1,2 @@
p1 titi1
p2 titi1
-p2 titi2
View
1  test/multiple-appender/output2
@@ -1,3 +1,2 @@
p1 titi2
p2 titi2
-
View
1  test/process1.pid
@@ -1 +0,0 @@
-17217
View
1  test/process2.pid
@@ -1 +0,0 @@
-17219
View
2  test/test-cluster.js
@@ -4,7 +4,7 @@ helper.create_test('cluster-logrotate', 'cluster-logrotate/test1.js', 'cluster-l
helper.logrotate(function(logrotate) {
setTimeout(function() {
helper.check_file("cluster-logrotate/output1");
- helper.launch(logrotate, ['-f', 'cluster-logrotate/logrotate.conf'], null, function(code) {});
+ helper.launch(logrotate, ['-f', 'cluster-logrotate/logrotate.conf', '-s', '/tmp/s'], null, function(code) {});
}, 500);
});
}, function() {
Please sign in to comment.
Something went wrong with that request. Please try again.