changeset 1339:c582fa4c4a95

Tests: fixed js_subrequests.t on win32. Starting helper daemons before try_run() confuses perlfork emulation and breaks STDERR redirection as done in try_run(), resulting in error messages being printed. Changed the order to fix things.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 07 Jun 2018 22:18:15 +0300
parents adb306c10169
children da711694bbd7
files js_subrequests.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js_subrequests.t
+++ b/js_subrequests.t
@@ -427,8 +427,8 @@ EOF
 
 $t->write_file('t', '["SEE-THIS"]');
 
+$t->try_run('no njs available')->plan(23);
 $t->run_daemon(\&http_daemon);
-$t->try_run('no njs available')->plan(23);
 
 ###############################################################################