test-commit: remove extra cd .. stable
authorAdrian Buehlmann <adrian@cadifra.com>
Sat, 09 Jun 2012 14:20:25 +0200
branchstable
changeset 16952 d1a0ac9b6b8a
parent 16950 0fdd8193c8b5
child 16958 622aa57a90b1
child 16996 7efdea341ab2
test-commit: remove extra cd .. This specific cd .. leaves the base directory of the test ($TESTTMP). Removing it avoids that test artifacts (e.g. files) are created outside of the base directory.
tests/test-commit.t
--- a/tests/test-commit.t	Tue May 29 07:07:10 2012 -0500
+++ b/tests/test-commit.t	Sat Jun 09 14:20:25 2012 +0200
@@ -220,7 +220,6 @@
 
 Issue1049: Hg permits partial commit of merge without warning
 
-  $ cd ..
   $ hg init issue1049
   $ cd issue1049
   $ echo a > a