[PATCH stable] tests: use an absolute path to get around '..' being invalid on a dead CWD

Sean Farley sean at farley.io
Thu Jan 19 16:44:06 EST 2017


Augie Fackler <raf at durin42.com> writes:

> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1484861029 18000
> #      Thu Jan 19 16:23:49 2017 -0500
> # Branch stable
> # Node ID 34923f3f218573ec57575f4ae59cb4198cc6a313
> # Parent  b3d2e8cce78c04dbf6f20f0846b6ea8b622983c4
> tests: use an absolute path to get around '..' being invalid on a dead CWD
>
> Only FreeBSD seems to be this picky. Note that this explicit
> absolute-path `cd` exposes a defect in the test, in that we end up
> still inside the cwd-vanish repository, but that's not a regression in
> this change. Since we're in a code freeze, I'm doing the smallest
> thing possible to try and fix bugs on FreeBSD, rather than cleaning up
> the entire problem. I'll follow up with a more complete fix after the
> freeze.

I guess so ... crazy freebsd.


More information about the Mercurial-devel mailing list