Fix 2 tests that fail in MS-Windows
commitdb5d38ddb0de83d8f920b7a128fe3fd5156fdf85
authorTino Calancha <tino.calancha@gmail.com>
Fri, 4 Aug 2017 05:15:51 +0000 (4 14:15 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 4 Aug 2017 05:15:51 +0000 (4 14:15 +0900)
tree262a72a764827294c4bea1645f7ea3cd85688d9e
parent28e000435e1dfdc071cd4b68afe8514dcf9b3aa2
Fix 2 tests that fail in MS-Windows

https://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00018.html
* test/lisp/vc/ediff-ptch-tests.el (ediff-ptch-test-bug26084):
Add comments to explain the test logic.
Pass '--binary' option to 'patch' program in windows environments.
Check explicitely that a backup is created before compare file contents.

* test/lisp/dired-tests.el (dired-test-bug25609):
Declare variable 'dired-dwim-target' right before the test.
Add comments to explain the test logic.
Ensure, before test the bug condition, that we are displaying the
2 dired buffers created in this test, and no other dired buffer
is shown.
test/lisp/dired-tests.el
test/lisp/vc/ediff-ptch-tests.el