From patchwork Mon Feb 5 16:11:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 25819 Received: (qmail 22141 invoked by alias); 5 Feb 2018 16:12:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 22001 invoked by uid 89); 5 Feb 2018 16:12:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=AA, aA, Hx-spam-relays-external:209.85.128.194, H*RU:209.85.128.194 X-HELO: mail-wr0-f194.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:date:message-id :user-agent:mime-version:content-disposition; bh=X1cor0uNCn7Xgj5aqbiF+NUj/FCM2Dos09NZ3xuV1ww=; b=L3NnDZbET0WQZHA3rObxCLmM5i8gHB7MssX+/RTE4rZs3MZa5coCgVoD9mfCWP4bbh FAhHK8ttIXiCrlZwBM0tRolqVEuKcZj3w1LoypoTGOgaFn/UQtF8N3lmHNZPWkNarpug 4B14V2hnF53WDEobjd3FTGMZLRE8Pqy64OdmgIRJXaK+qxFv6tvw2+nP9J5DB9YrbDEl 8LkJ5pDVOuW/JXNidoStRbLyUS1buPunXAonm+X7A26ck+fr5qCuUG5thTeXKJzptHlX d1ASy+B3ihwtACTpkS0NnORisjK34OzZdblPQH17TqY9kYIEYo9XXXMQynEAoNWjxLtq EBVA== X-Gm-Message-State: AKwxytffI2g2+gzF4YNb0RO0MCTZi3Z6r8cDcAxS2RksdHhH2O/gbolk yxK3UBiYord1q4IjV1+Ujhpm X-Google-Smtp-Source: AH8x2262NrtRmz8ymGOPnHKrGMIaH8SmBT/XTTb4aX/GNERrFOZYQP8cE1G/sobkV7W/IyUg0K3O3Q== X-Received: by 10.223.168.120 with SMTP id l111mr33171066wrc.118.1517847115625; Mon, 05 Feb 2018 08:11:55 -0800 (PST) From: Mike FABIAN To: libc-alpha@sourceware.org Cc: "Dmitry V. Levin" Subject: [Patch v2 10/14] [BZ #14095] update collation data from Unicode / ISO 14651 Date: Mon, 05 Feb 2018 17:11:54 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Disposition: inline; filename=0010-Fix-posix-bug-regex5.c-test-case-adapt-to-iso14651_t.patch From f3b5e297b423994c5e9df1ff082f7505693a74e8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 15 Dec 2017 07:19:45 +0100 Subject: [PATCH 10/14] Fix posix/bug-regex5.c test case, adapt to iso14651_t1_common upate This test case tests how many collating elements are defined in da_DK.ISO-8859-1 locale. The da_DK locale source defines 4: collating-element from "" collating-element from "" collating-element from "" collating-element from "" The new iso14651_t1_common file defines more collating elements, two of them are in the ISO-8859-1 range: collating-element from "" % decomposition of LATIN CAPITAL LETTER L WITH MIDDLE DOT collating-element from "" % decomposition of LATIN SMALL LETTER L WITH MIDDLE DOT So the total count is now 6 instead of 4. * posix/bug-regex5.c: Fix test case because with the new iso14651_t1_common file, the da_DK locale now has 6 collating elements in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common file. --- posix/bug-regex5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index fd18b19df4..573da231e3 100644 --- a/posix/bug-regex5.c +++ b/posix/bug-regex5.c @@ -53,9 +53,9 @@ main (void) printf ("No collating element!\n"); return 1; } - else if (found != 4) + else if (found != 6) { - printf ("expected 4 collating elements, found %d\n", found); + printf ("expected 6 collating elements, found %d\n", found); return 1; } -- 2.14.3