Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: enable debugruntest for test-pager.t
Summary: This test wasn't using `debugruntest` since it's one of those tests that shells out to Python for various things. Making this work on Windows required a couple of changes, as non-debugruntest tests rely on having bash and bash-like utils for running: - The test had to shell out and used the `echo` command for this. On Bash using `echo` is fine, but on Windows cmd's echo does not output a new line - Like in D54347528, `$PYTHON` could no longer be used on things hg called - Since the test was essentially running on Bash, the Python scripts this test was shelling out to could no longer use `sys.stdout.write`. - As this test was previously running essentially on Bash, the newlines from `sys.stdout.write` contained carriage returns - This was changed to use `hg dbsh` and `ui.write` instead Reviewed By: muirdm Differential Revision: D54826008 fbshipit-source-id: 16460ddd30dd8dc8a27ca66580ada8f50b774905
- Loading branch information