GNU bug report logs - #25534
26.0; xref ERT tests fail when the source path is mixed case

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Wilfred Hughes <me@HIDDEN>; merged with #27880; dated Wed, 25 Jan 2017 22:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 25534 27880. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 25534 <at> debbugs.gnu.org:


Received: (at 25534) by debbugs.gnu.org; 30 Jan 2017 22:43:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 30 17:43:32 2017
Received: from localhost ([127.0.0.1]:51464 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cYKfc-0005fK-FW
	for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:43:32 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60817)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1cYKfa-0005f8-86
 for 25534 <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:43:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1cYKfT-000626-A1
 for 25534 <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:43:25 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37276)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1cYKfQ-00061k-MD; Mon, 30 Jan 2017 17:43:20 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1cYKfQ-0006t2-9D; Mon, 30 Jan 2017 17:43:20 -0500
From: Glenn Morris <rgm@HIDDEN>
To: Wilfred Hughes <me@HIDDEN>
Subject: Re: bug#25534: 26.0;
 xref ERT tests fail when the source path is mixed case
References: <CAFXAjY559TVevWmj4m23EJq6eyBHeDsUCEWqgL9-ZW1V4w27Xw@HIDDEN>
X-Spook: Rand Corporation ISEC IMF Delays Power outage FEMA BATF
X-Ran: y'&X^Xmyj'YCk=nY4;0W&l'"ih)c2@4K-qL:;nIZE,B'/aM"\!mg&xU-mKAJw'4f%6%q1!
X-Hue: white
X-Attribution: GM
Date: Mon, 30 Jan 2017 17:43:20 -0500
In-Reply-To: <CAFXAjY559TVevWmj4m23EJq6eyBHeDsUCEWqgL9-ZW1V4w27Xw@HIDDEN>
 (Wilfred Hughes's message of "Wed, 25 Jan 2017 21:59:13 +0000")
Message-ID: <aj7f5ccgon.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -8.2 (--------)
X-Debbugs-Envelope-To: 25534
Cc: 25534 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -8.2 (--------)

Wilfred Hughes wrote:

> The xref tests fail on case sensitive filesystems if the source directory
> is not all lower case.

I guess this is due to the explicit downcasing added for the
huge-and-still-open bug #21816.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25534; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Jan 2017 21:59:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 25 16:59:56 2017
Received: from localhost ([127.0.0.1]:43827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cWVbf-00074v-St
	for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 16:59:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42975)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1cWVbe-00074f-Bw
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 16:59:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1cWVbU-0005Fb-QS
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 16:59:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58256)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <me@HIDDEN>) id 1cWVbU-0005FX-MY
 for submit <at> debbugs.gnu.org; Wed, 25 Jan 2017 16:59:44 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33921)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1cWVbP-0001Lw-Lo
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 16:59:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1cWVbM-0005A4-Jq
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 16:59:39 -0500
Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:35355)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <me@HIDDEN>) id 1cWVbM-000595-Eh
 for bug-gnu-emacs@HIDDEN; Wed, 25 Jan 2017 16:59:36 -0500
Received: by mail-qt0-x236.google.com with SMTP id x49so41752371qtc.2
 for <bug-gnu-emacs@HIDDEN>; Wed, 25 Jan 2017 13:59:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=wilfred-me-uk.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=CmYLY44iwotOrWzyRs4ff64vLN0poTzC0nwm3JgIEDU=;
 b=LV11KcJ1njLLXii13uDYDQRqhwaFFvoy8blKydx2qcMYUJDISmbzp7ULysFGhAWa1l
 0/U55LftQ2Z0px+wMPzfyXBV1AhtmwVQbfenucQLScIKyuU3zwMPp7nmjkfRnxtrKar6
 FOHP+SdtD740xQCuxIr0vj1NEM7+SSqbZL7WOi9SwNkjyO/5pSsQDx3xtqbPxXfiAXN3
 DeP6PBZCp1InIXUphb23Wl98kptLDGrALrXrkIlzBrpw+ASydeVgf3ZHMnIVKrJ5usyj
 h+pjJIFZaFv1qyPTHDSKRoIgClKYokkan/vE5MPTzjGRNGhkyh7J8AnTmPNkaRMk7ePP
 NYRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=CmYLY44iwotOrWzyRs4ff64vLN0poTzC0nwm3JgIEDU=;
 b=Ol8bQ4JAMwTGqAc88cSUqW4AfYbf6dQGefzCfNK+ydnyGJ0BNz+KbTF+yywYJTU3TQ
 dqweLmRau6Jr5UnS3CrzXPsSTq6k2vX0ARRlL95/g+utcKwvVSlISt6603w/CkusYwgp
 xOFlb9fyPc/OIK/GUVNKs2NJWLGwaafQE3mQtBPAvouwnvZToemGraBj553b3LUn6lU/
 xzSsclSorHZa7HwxUO/Aw4z1KGGNM73SJhKcUeM+5Fss5fhJIYniZOsLRCr9C92J2NCb
 4rM7K+Bxx2khUgwGXNM0VJeCvXQPxDQEnzwhuGPgnv2qoWTGvCPVuKUySUWieG0/rK+z
 tTZQ==
X-Gm-Message-State: AIkVDXKLiIKw67U4BAWeY3YBHfTVETF3OQAegpZfM9fEXA6O1dumXdn1U3NZVu81sfY/fM1coR+jVrvNLnIdnw==
X-Received: by 10.237.36.129 with SMTP id t1mr36531544qtc.202.1485381573956;
 Wed, 25 Jan 2017 13:59:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.36.239 with HTTP; Wed, 25 Jan 2017 13:59:13 -0800 (PST)
X-Originating-IP: [77.103.217.201]
From: Wilfred Hughes <me@HIDDEN>
Date: Wed, 25 Jan 2017 21:59:13 +0000
Message-ID: <CAFXAjY559TVevWmj4m23EJq6eyBHeDsUCEWqgL9-ZW1V4w27Xw@HIDDEN>
Subject: 26.0; xref ERT tests fail when the source path is mixed case
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=001a114060721279310546f2599b
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a114060721279310546f2599b
Content-Type: text/plain; charset=UTF-8

The xref tests fail on case sensitive filesystems if the source directory
is not all lower case.

For example, if I have Emacs checked out in /home/wilfred/src/EMACS, I get
the following test failure:

Test xref-elisp-test-find-defs-defalias-defun-el condition:
    (error "Can't find library /home/wilfred/src/emacs/lisp/buff-menu.el")
   FAILED  12/36  xref-elisp-test-find-defs-defalias-defun-el

Note that the path is incorrectly converted from ~/src/EMACS to
~/src/emacs, which doesn't exist.

This causes the following tests to fail:

   FAILED  xref-elisp-test-find-defs-constructor
   FAILED  xref-elisp-test-find-defs-defalias-defun-el
   FAILED  xref-elisp-test-find-defs-defgeneric-co-located-default
   FAILED  xref-elisp-test-find-defs-defgeneric-el
   FAILED  xref-elisp-test-find-defs-defgeneric-implicit-generic
   FAILED  xref-elisp-test-find-defs-defgeneric-no-default
   FAILED  xref-elisp-test-find-defs-defgeneric-no-methods
   FAILED  xref-elisp-test-find-defs-defgeneric-separate-default
   FAILED  xref-elisp-test-find-defs-define-overload-co-located-default
   FAILED  xref-elisp-test-find-defs-define-overload-no-default
   FAILED  xref-elisp-test-find-defs-define-overload-no-methods
   FAILED  xref-elisp-test-find-defs-define-overload-separate-default
   FAILED  xref-elisp-test-find-defs-defun-defvar-el
   FAILED  xref-elisp-test-find-defs-defun-el
   FAILED  xref-elisp-test-find-defs-defun-el-defvar-c
   FAILED  xref-elisp-test-find-defs-defvar-el
   FAILED  xref-elisp-test-find-defs-face-el
   FAILED  xref-elisp-test-find-defs-feature-el

--001a114060721279310546f2599b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The xref tests fail on case sensitive filesystems if the s=
ource directory is not all lower case.<br><br>For example, if I have Emacs =
checked out in /home/wilfred/src/EMACS, I get the following test failure:<b=
r><br>Test xref-elisp-test-find-defs-defalias-defun-el condition:<br>=C2=A0=
 =C2=A0 (error &quot;Can&#39;t find library /home/wilfred/src/emacs/lisp/bu=
ff-menu.el&quot;)<br>=C2=A0 =C2=A0FAILED =C2=A012/36 =C2=A0xref-elisp-test-=
find-defs-defalias-defun-el<br><br>Note that the path is incorrectly conver=
ted from ~/src/EMACS to ~/src/emacs, which doesn&#39;t exist.<br><br>This c=
auses the following tests to fail:<br><br>=C2=A0 =C2=A0FAILED =C2=A0xref-el=
isp-test-find-defs-constructor<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test=
-find-defs-defalias-defun-el<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-f=
ind-defs-defgeneric-co-located-default<br>=C2=A0 =C2=A0FAILED =C2=A0xref-el=
isp-test-find-defs-defgeneric-el<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-te=
st-find-defs-defgeneric-implicit-generic<br>=C2=A0 =C2=A0FAILED =C2=A0xref-=
elisp-test-find-defs-defgeneric-no-default<br>=C2=A0 =C2=A0FAILED =C2=A0xre=
f-elisp-test-find-defs-defgeneric-no-methods<br>=C2=A0 =C2=A0FAILED =C2=A0x=
ref-elisp-test-find-defs-defgeneric-separate-default<br>=C2=A0 =C2=A0FAILED=
 =C2=A0xref-elisp-test-find-defs-define-overload-co-located-default<br>=C2=
=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-define-overload-no-default=
<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-define-overload-no-=
methods<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-define-overl=
oad-separate-default<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs=
-defun-defvar-el<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-def=
un-el<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-defun-el-defva=
r-c<br>=C2=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-defvar-el<br>=C2=
=A0 =C2=A0FAILED =C2=A0xref-elisp-test-find-defs-face-el<br>=C2=A0 =C2=A0FA=
ILED =C2=A0xref-elisp-test-find-defs-feature-el<br></div>

--001a114060721279310546f2599b--




Acknowledgement sent to Wilfred Hughes <me@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25534; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jul 2017 20:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.