Mercurial > hg
comparison tests/test-show.t @ 33613:3b77d4787c18 stable
tests: avoid unexpected result at invocation of *.py file on Windows
Invocation of "diff tool.py" in test-extdiff.t tests whether
shellquote() is applied on specified command as expected.
But direct invocation of "*.py" file might cause unexpected result on
Windows according to suffix binding.
For example, starting IDE, showing dialog to choose program to be
used, and so on. In such case, running test-extdiff.t is easily timed
out.
This patch uses intermediate *.bat file on Windows, to avoid such
unexpected result. Naming that intermediate file as "diff tool.bat" is
enough to test applying shellquote().
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 01 Aug 2017 01:27:32 +0900 |
parents | c5a07a3abe7d |
children | 4441c1113eb2 |
comparison
equal
deleted
inserted
replaced
33612:798f7beadbc9 | 33613:3b77d4787c18 |
---|