Patchwork tests: fix the tests on case insensitive filesystems

login
register
mail settings
Submitter Durham Goode
Date May 16, 2017, 6:08 p.m.
Message ID <e51087728839bf087e84.1494958129@dev111.prn1.facebook.com>
Download mbox | patch
Permalink /patch/20642/
State Superseded
Headers show

Comments

Durham Goode - May 16, 2017, 6:08 p.m.
# HG changeset patch
# User Durham Goode <durham@fb.com>
# Date 1494957297 25200
#      Tue May 16 10:54:57 2017 -0700
# Node ID e51087728839bf087e84e04e41988579673ba047
# Parent  d7efaf6275a73ace512ee56313eedfc537c280e9
tests: fix the tests on case insensitive filesystems

On OSX the test-casefolding.t test was failing due to the recent cache changes
changing the output. On a linux system this test is skipped, which is why it
probably wasn't noticed before.
Augie Fackler - May 16, 2017, 6:38 p.m.
On Tue, May 16, 2017 at 11:08:49AM -0700, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham@fb.com>
> # Date 1494957297 25200
> #      Tue May 16 10:54:57 2017 -0700
> # Node ID e51087728839bf087e84e04e41988579673ba047
> # Parent  d7efaf6275a73ace512ee56313eedfc537c280e9
> tests: fix the tests on case insensitive filesystems

Looks like Matt Harbison already did this in 779a1 :)

>
> On OSX the test-casefolding.t test was failing due to the recent cache changes
> changing the output. On a linux system this test is skipped, which is why it
> probably wasn't noticed before.
>
> diff --git a/tests/test-casefolding.t b/tests/test-casefolding.t
> --- a/tests/test-casefolding.t
> +++ b/tests/test-casefolding.t
> @@ -28,6 +28,7 @@ test case collision on rename (issue750)
>    a
>    committing manifest
>    committing changelog
> +  updating the branch cache
>    committed changeset 0:07f4944404050f47db2e5c5071e0e84e7a27bba9
>
>  Case-changing renames should work:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff --git a/tests/test-casefolding.t b/tests/test-casefolding.t
--- a/tests/test-casefolding.t
+++ b/tests/test-casefolding.t
@@ -28,6 +28,7 @@  test case collision on rename (issue750)
   a
   committing manifest
   committing changelog
+  updating the branch cache
   committed changeset 0:07f4944404050f47db2e5c5071e0e84e7a27bba9
 
 Case-changing renames should work: