changeset 19980:0151b61fed97 stable

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).
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 05 Nov 2013 10:55:45 +0100
parents d24ee6d7d167
children e1317d3e59e1 7d5e7799a29f
files tests/test-commit-amend.t
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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]