test: do not add .pyc and .orig in test-commit-amend.t (issue4085) stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 05 Nov 2013 10:55:45 +0100
branchstable
changeset 19980 0151b61fed97
parent 19979 d24ee6d7d167
child 19983 e1317d3e59e1
child 19984 7d5e7799a29f
test: do not add .pyc and .orig in test-commit-amend.t (issue4085) This makes the test fails with disabled byte-compilation (PYTHONDONTWRITEBYTECODE="1" environmental variable).
tests/test-commit-amend.t
--- a/tests/test-commit-amend.t	Fri Nov 01 17:04:18 2013 -0500
+++ b/tests/test-commit-amend.t	Tue Nov 05 10:55:45 2013 +0100
@@ -750,10 +750,8 @@
   $ hg branch closewithamend
   marked working directory as branch closewithamend
   (branches are permanent and global, did you want a bookmark?)
-  $ hg ci -Am..
-  adding cc.orig
-  adding obs.py
-  adding obs.pyc
+  $ hg add obs.py
+  $ hg ci -m..
   $ hg ci --amend --close-branch -m 'closing'
   abort: can only close branch heads
   [255]