# HG changeset patch # User Maxim Dounin # Date 1528399095 -10800 # Node ID c582fa4c4a9595f225d49ebd2cc8f1c1bb77622c # Parent adb306c10169567d53a77339de7408b5d77a0c68 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. diff --git a/js_subrequests.t b/js_subrequests.t --- 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); ###############################################################################