[PATCH 3 of 3] run-tests: accept '\' vs '/' path differences without '(glob)'

Kevin Bullock kbullock+mercurial at ringworld.org
Thu Dec 14 23:50:38 EST 2017


> On Dec 13, 2017, at 12:28, Martin von Zweigbergk via Mercurial-devel <mercurial-devel at mercurial-scm.org> wrote:
> 
> I think the problem is in this line from the test (that you changed):
> 
>  $ echo "  saved backup bundle to \$TESTTMP\foo.hg" >> test-failure.t
> 
> The '\' there probably just needs to be escaped. It seems like at
> least dash and tcsh otherwise interpret it (but bash treats it
> literally). Proof:
> 
> $ dash -c 'echo "  saved backup bundle to \$TESTTMP\foo.hg"'
>  saved backup bundle to $TESTTMP
>                                 oo.hg
> 
> I'll just change the '\f' to '\\f' in flight and we'll see if tests
> pass when they run again.

Doesn't seem to have worked.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list