Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo-svn.t @ 35450:991e4404e910
tests: convert the 'file://\$TESTTMP' rule to an automatic substitution
The rule only triggered on non Windows platforms, even though Windows also
required an adjustment. Automatic seems better.
The aggressive globbing in test-subrepo-svn.t was found and rewritten by the
substitution.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 16 Dec 2017 11:32:10 -0500 |
parents | 4441705b7111 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-subrepo-svn.t Sat Oct 21 17:27:14 2017 +0900 +++ b/tests/test-subrepo-svn.t Sat Dec 16 11:32:10 2017 -0500 @@ -91,10 +91,10 @@ $ hg debugsub path s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 2 path subdir/s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 2 change file in svn and hg, commit @@ -117,10 +117,10 @@ At revision 3. $ hg debugsub path s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 3 path subdir/s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 2 missing svn file, commit should fail @@ -239,10 +239,10 @@ $ hg debugsub path s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 3 path subdir/s - source file://*/svn-repo/src (glob) + source file:/*/$TESTTMP/svn-repo/src (glob) revision 2 verify subrepo is contained within the repo directory