test-run-tests: glob away a --debug run difference on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 23 Nov 2015 12:14:01 -0500
changeset 27509 6ff90d618d72
parent 27508 b2226faead3f
child 27510 020d93c4a727
test-run-tests: glob away a --debug run difference on Windows This internal test is piped through 'grep -v pwd' to eliminate the pwd alias set when running with MSYS. Unfortunately, the '.' from the successful run of the prior internal test precedes the pwd alias for the next test on the same line, so grep filters out '.' too, except for the final test. It also looks like there may be a bug with --debug: the output of the internal test that had this diff says 2 ran, 0 failed (one test being test-failure.t), but if --debug is omitted from the internal test, then it says 2 ran, 1 failed. With this longstanding issue fixed, the test suite finally runs cleanly on Windows (except subrepo merge documented in issue 4988), with 88 skips. \o/
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Tue Dec 22 21:47:40 2015 -0500
+++ b/tests/test-run-tests.t	Mon Nov 23 12:14:01 2015 -0500
@@ -238,7 +238,7 @@
   babar
   + echo *SALT* 4 0 (glob)
   *SALT* 4 0 (glob)
-  .+ echo *SALT* 0 0 (glob)
+  *+ echo *SALT* 0 0 (glob)
   *SALT* 0 0 (glob)
   + echo babar
   babar