From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: FAILED tramp-test34-utf8 Date: Thu, 30 Mar 2017 05:57:52 +0300 Message-ID: <83shlv5v4f.fsf@gnu.org> References: <87lgrpe8ig.fsf@yandex.com> <8760itgtwi.fsf@detlef> <8737dwpje6.fsf@yandex.com> <87shlwl3j7.fsf@detlef> <8760irvpli.fsf@yandex.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1490842700 8422 195.159.176.226 (30 Mar 2017 02:58:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Mar 2017 02:58:20 +0000 (UTC) Cc: , michael.albinus@gmx.de, emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 30 04:58:09 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctQHg-0000FZ-60 for ged-emacs-devel@m.gmane.org; Thu, 30 Mar 2017 04:58:00 +0200 Original-Received: from localhost ([::1]:33422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctQHm-0007Z4-1t for ged-emacs-devel@m.gmane.org; Wed, 29 Mar 2017 22:58:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctQHf-0007Yx-K4 for emacs-devel@gnu.org; Wed, 29 Mar 2017 22:58:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctQHb-0003N3-Hr for emacs-devel@gnu.org; Wed, 29 Mar 2017 22:57:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctQHb-0003Mx-EI; Wed, 29 Mar 2017 22:57:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4118 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ctQHa-0008Aj-Ka; Wed, 29 Mar 2017 22:57:55 -0400 In-reply-to: <8760irvpli.fsf@yandex.com> (message from Colin Baxter on Wed, 29 Mar 2017 20:40:25 +0100) 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213517 Archived-At: > From: Colin Baxter > Date: Wed, 29 Mar 2017 20:40:25 +0100 > Cc: , emacs-devel@gnu.org > > Test tramp-test34-utf8 condition: > (ert-test-failed > ((should > (string-equal > (funcall ... ...) > (file-remote-p ... ...))) > :form > (string-equal "/tmp/tramp-test5548VYB/\316\223\317\205\317\201\316\257\317\203\317\204\316\265 \317\204\316\277 \316\223\316\261\316\273\316\261\316\276\316\257\316\261 \316\274\316\265 \316\217\317\204\316\277 \316\243\317\204\316\277\317\200" "/tmp/tramp-test5548VYB/Γυρίστε το Γαλαξία με Ώτο Στοπ") It seems the failure comes from this snippet: (should (string-equal (funcall (if quoted 'tramp-compat-file-name-quote 'identity) (car (file-attributes file3))) (file-remote-p (file-truename file1) 'localname))) And it's strange that the first file name in the failed condition has got all of its bytes displayed as ASCII representation, while the second one still has the raw bytes. Another question is why do we see raw bytes at all here? These should not be unibyte strings.