diff --git a/test/simple/test-http-full-response.js b/test/simple/test-http-full-response.js index 832c046e2c4..d33df8b883c 100644 --- a/test/simple/test-http-full-response.js +++ b/test/simple/test-http-full-response.js @@ -49,8 +49,8 @@ function runAb(opts, callback) { var command = 'ab ' + opts + ' http://127.0.0.1:' + common.PORT + '/'; exec(command, function(err, stdout, stderr) { if (err) { - if (stderr.indexOf('ab') >= 0) { - console.log('ab not installed? skipping test.\n' + stderr); + if (/ab|apr/mi.test(stderr)) { + console.log('problem spawning ab - skipping test.\n' + stderr); process.reallyExit(0); } process.exit();