diff tests/test-encode.t @ 49621:55c6ebd11cb9 stable

tests: run many tests in $TESTTMP/repo instead of $TESTTMP This is useful so we can store other files in $TESTTMP (in particular tests that use docket files (nodemap, dirstate-v2) keep file uids in $TESTTMP/UID)
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Fri, 18 Nov 2022 13:47:29 +0000
parents a2e278b5e265
children
line wrap: on
line diff
--- a/tests/test-encode.t	Fri Nov 18 13:52:18 2022 +0000
+++ b/tests/test-encode.t	Fri Nov 18 13:47:29 2022 +0000
@@ -1,6 +1,7 @@
 Test encode/decode filters
 
-  $ hg init
+  $ hg init repo
+  $ cd repo
   $ cat > .hg/hgrc <<EOF
   > [encode]
   > not.gz = tr [:lower:] [:upper:]