commit | 87aed02effffcdab0ce76e18b52f5bce2c92c6e6 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Nov 30 20:53:11 2020 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Nov 30 20:53:11 2020 +0300 |
tree | 2938d572bd4c4c92a5a90af83feaf1ce284161a3 | |
parent | 1bf171305eb1a43792465c5d4dc0840bbb569334 [diff] |
Tests: reworked try_run() to redirect stderr. Previously, if TEST_NGINX_VERBOSE was set, the code tried to use compiled-in error log. While this works in typical development cases when --error-log-path is relative to prefix, it is unlikely to work correctly if --error-log-path is absolute. The recently introduced '-e' command line option might be used to fix this. On the other hand, a more compatible solution would be to redirect stderr to a file instead.