[PATCH 5 of 6 stable] tests: use path inside test dir
Manuel Jacob
me at manueljacob.de
Tue Jun 30 06:45:46 UTC 2020
# HG changeset patch
# User Manuel Jacob <me at manueljacob.de>
# Date 1593473537 -7200
# Tue Jun 30 01:32:17 2020 +0200
# Branch stable
# Node ID e1a4c7f23e804f37c3848fc408607af916d619d1
# Parent 388217b58dc5aa2e4b34b8fab67c17016abcc005
# EXP-Topic svn_encoding
tests: use path inside test dir
This will make the diff for the next patch less noisy.
diff --git a/tests/test-convert-svn-encoding.t b/tests/test-convert-svn-encoding.t
--- a/tests/test-convert-svn-encoding.t
+++ b/tests/test-convert-svn-encoding.t
@@ -201,18 +201,18 @@
For now, on Python 3, we abort when encountering non-UTF-8 percent-encoded
bytes in a filename.
- $ hg convert file:///%ff test
+ $ hg convert file://$TESTTMP/%FF test
initializing destination test repository
on Python 3, we currently do not support non-UTF-8 percent-encoded bytes in file URLs for Subversion repositories
- file:///%ff does not look like a CVS checkout
- $TESTTMP/file:/%ff does not look like a Git repository
- file:///%ff does not look like a Subversion repository
- file:///%ff is not a local Mercurial repository
- file:///%ff does not look like a darcs repository
- file:///%ff does not look like a monotone repository
- file:///%ff does not look like a GNU Arch repository
- file:///%ff does not look like a Bazaar repository
- file:///%ff does not look like a P4 repository
- abort: file:///%ff: missing or unsupported repository
+ file:/*/$TESTTMP/%FF does not look like a CVS checkout (glob)
+ $TESTTMP/file:$TESTTMP/%FF does not look like a Git repository
+ file:/*/$TESTTMP/%FF does not look like a Subversion repository (glob)
+ file:/*/$TESTTMP/%FF is not a local Mercurial repository (glob)
+ file:/*/$TESTTMP/%FF does not look like a darcs repository (glob)
+ file:/*/$TESTTMP/%FF does not look like a monotone repository (glob)
+ file:/*/$TESTTMP/%FF does not look like a GNU Arch repository (glob)
+ file:/*/$TESTTMP/%FF does not look like a Bazaar repository (glob)
+ file:/*/$TESTTMP/%FF does not look like a P4 repository (glob)
+ abort: file:/*/$TESTTMP/%FF: missing or unsupported repository (glob)
[255]
#endif
More information about the Mercurial-devel
mailing list