[PATCH] regression test for issue3958

Michael Platings platings at ccdc.cam.ac.uk
Tue Jun 11 09:52:03 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3958

Patch is also in the attached file in case whitespace gets broken in the email.


# HG changeset patch
# User platings
# Date 1370959052 -3600
# Branch stable
# Node ID 2e5e0f7838dfd1aa608566a9477dd23f32b1ea00
# Parent  b500a663a2c7543e9e8484e58753fefd71b2aa17
Add regression test to demonstrate a bug in mangling certain long paths.

diff -r b500a663a2c7 -r 2e5e0f7838df tests/test-fncache.t
--- a/tests/test-fncache.t      Thu May 02 19:36:47 2013 +0300
+++ b/tests/test-fncache.t      Tue Jun 11 14:57:32 2013 +0100
@@ -134,6 +134,12 @@
   > # Parent  0000000000000000000000000000000000000000
   > 1
   >
+  > diff --git a/12345678901234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1/2/3/4/5/6/7/8/9/0/1234567890 b/12345678901234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1/2/3/4/5/6/7/8/9/0/1234567890

+  > new file mode 100644
+  > --- /dev/null
+  > +++ b/12345678901234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1/2/3/4/5/6/7/8/9/0/1234567890
+  > @@ -0,0 +1,1 @@
+  > +foo
   > diff --git a/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12345-ABCDEFGHIJKLMNOPRSTUVWXYZ-abcdefghjiklmnopqrstuvwxyz b/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxxxxx-xxxxxxxxx-xxxxxxxxx-123456789-12.3456789-12345-ABCDEFGHIJKLMNOPRSTUVWXYZ-abcdefghjiklmnopqrstuvwxyz
   > new file mode 100644
   > --- /dev/null
@@ -170,6 +176,7 @@
   .hg/store/00changelog.i
   .hg/store/00manifest.i
   .hg/store/data/bla.aux/pr~6e/_p_r_n/lpt/co~6d3/nu~6c/coma/foo._n_u_l/normal.c.i
+  .hg/store/dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/1/2/3/123456d09851d3f8073abca8cd33aa631f7911219c3fce.i
   .hg/store/dh/12345678/12345678/12345678/12345678/12345678/12345678/12345678/12345/xxxxxx168e07b38e65eff86ab579afaaa8e30bfbe0f35f.i
   .hg/store/dh/au~78/second/x.prn/fourth/fi~3afth/sixth/seventh/eighth/nineth/tenth/loremia20419e358ddff1bf8751e38288aff1d7c32ec05.i
   .hg/store/dh/enterpri/openesba/contrib-/corba-bc/netbeans/wsdlexte/src/main/java/org.net7018f27961fdf338a598a40c4683429e7ffb9743.i


LEGAL NOTICE
Unless expressly stated otherwise, information contained in this
message is confidential. If this message is not intended for you,
please inform postmaster at ccdc.cam.ac.uk and delete the message.
The Cambridge Crystallographic Data Centre is a company Limited
by Guarantee and a Registered Charity.
Registered in England No. 2155347 Registered Charity No. 800579
Registered office 12 Union Road, Cambridge CB2 1EZ.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: issue3958regressiontest.txt
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130611/d978ce54/attachment.txt>


More information about the Mercurial-devel mailing list