[PATCH 2 of 2] tests: handle differences between missing file error strings on Windows and Unix

Olle olle.lundberg at gmail.com
Tue Nov 25 16:23:53 CST 2014


On Tue, Nov 25, 2014 at 4:41 PM, Augie Fackler <raf at durin42.com> wrote:

> On Wed, Nov 19, 2014 at 12:05:04AM -0500, Matt Harbison wrote:
> > # HG changeset patch
> > # User Matt Harbison <matt_harbison at yahoo.com>
> > # Date 1416372718 18000
> > #      Tue Nov 18 23:51:58 2014 -0500
> > # Node ID 2cfd7aa5b366f6a02aab040ab4e92cbb3130c040
> > # Parent  c7f4ddbf7c2b8ab3eac36ed65808c5c4e7d5c5a3
> > tests: handle differences between missing file error strings on Windows
> and Unix
>
> These patches were pushed as 5bd04faaa3ee and c2907334276b. Thanks!
>
> (I didn't see any other mail about this, but I could just be failing at
> email.)
>
mpm already queued it:
http://patchwork.serpentine.com/patch/6787/


>
> >
> > diff --git a/tests/test-status-rev.t b/tests/test-status-rev.t
> > --- a/tests/test-status-rev.t
> > +++ b/tests/test-status-rev.t
> > @@ -81,8 +81,13 @@
> >    $ hg status -A --rev 1 'glob:missing_*_missing-tracked'
> >    ! missing_content2_missing-tracked
> >    ! missing_missing_missing-tracked
> > +#if windows
> > +  $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
> > +  missing_missing_missing-untracked: The system cannot find the file
> specified
> > +#else
> >    $ hg status -A --rev 1 'glob:missing_missing_missing-untracked'
> >    missing_missing_missing-untracked: No such file or directory
> > +#endif
> >
> >  Status between first and second commit. Should ignore dirstate status.
> >
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at selenic.com
> > http://selenic.com/mailman/listinfo/mercurial-devel
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>



-- 
Olle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141125/2a09da7e/attachment.html>


More information about the Mercurial-devel mailing list