test-issue660: test inside a repository, not the test dir
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 28 Mar 2022 13:00:14 +0200
changeset 49041 8309c83b6e2c
parent 49040 3abf799b7b29
child 49042 524819ab6fde
test-issue660: test inside a repository, not the test dir This causes an issue with a temporary file showing up in test output when adding a dirstate-v2 variant of this test. Differential Revision: https://phab.mercurial-scm.org/D12444
tests/test-issue660.t
--- a/tests/test-issue660.t	Wed Mar 23 15:15:17 2022 +0100
+++ b/tests/test-issue660.t	Mon Mar 28 13:00:14 2022 +0200
@@ -1,7 +1,8 @@
 https://bz.mercurial-scm.org/660 and:
 https://bz.mercurial-scm.org/322
 
-  $ hg init
+  $ hg init repo
+  $ cd repo
   $ echo a > a
   $ mkdir b
   $ echo b > b/b