From patchwork Fri Feb 23 10:24:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 877030 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-90523-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="jig+sIUO"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3znnQd4PCjz9s0t for ; Fri, 23 Feb 2018 21:24:41 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; q=dns; s=default; b=JQO9TJNKnPylX7Tr NGsjmzhSJXagsgIuGxsMdqpf51lmAdZS6iPAtRu5NryZXMBLFXEPCqj0dZH1DzwC rtyB+AoE9ZPQzija0KjwMIQEC4Ap81M+2dBPSaDAgRSD6qtdWeYooelbU9gJBWTQ WsM5L2MHMCqR3nzELwpSMtXTDV0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; s=default; bh=yrzgMTOg7Y7j3bqd+mFhuM y+bM4=; b=jig+sIUO5kfR1oK+mNvD9EhjpDyZef1h8kEum5MnrqCA+Q3/k98gvS Nko5f6b43JNIfjetk7t0jrc74joQv33Rc8j4eUeV3vuW1HW5b/WNd4a6+EfVXPmt IlyZKQo6/a3dE84bYtKEx5+bWnvODvfG/pXSdguoOO3tOWWE41d5A= Received: (qmail 84657 invoked by alias); 23 Feb 2018 10:24:35 -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 84410 invoked by uid 89); 23 Feb 2018 10:24:22 -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, letter X-HELO: mail-wr0-f181.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=Q9rjCCo+rAdTghlCbSbh7hf44yqcl8nrVTRNPjAr0Ts=; b=EMRD1lrHxm/4n/sQtDy8dwXtPRk8c9CxkAhL6Ho/bCGhKX4TOQ4z9GSkusikk1urCS QFmGPL761qtJVrUxifLnsb55tMeRTzLnAGGG8fh2yUbju3pLa03nJzc4PWWOLQo97SFA 72KcOlGjM//ZrepsjaXd/IaY5z/KICOFFYuIPTXD4Yth2TICOaKbcipcXjXljpJHqMkt TZnyO1E1GUa4gUNPfHvqtnp2hjV0d1eORWe3dWg8RqEXDk2RofswdfSU0go6nf0bOFMe QA+cBEPe27JNVv6JV8ZWHW2gbC3CuCMu+jCOHkHbPJrYUwRBb50dwdJJrwvyFCnEWID3 mRxA== X-Gm-Message-State: APf1xPDP78ZuRm2IKY8lJv8oiyep+HGc5Hr0U7t7v1dLLYLGvoHoBSt7 UepogKzAjykDDb9XjCS0a6Px3ICY0Q== X-Google-Smtp-Source: AH8x225PTv46KuRXmV7YEZOcEy+vpWmWiKCR0zJjkLrK1Bo4us8qZ5xcb89AEgXBiJ+YIeEIsRRa+A== X-Received: by 10.223.195.206 with SMTP id d14mr1233914wrg.0.1519381445643; Fri, 23 Feb 2018 02:24:05 -0800 (PST) From: Mike FABIAN To: libc-alpha@sourceware.org Cc: "Dmitry V. Levin" Subject: [Patch v3 10/14] [BZ #14095] update collation data from Unicode / ISO 14651 Date: Fri, 23 Feb 2018 11:24:04 +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 Reviewed-by: Carlos O'Donell From 6bef2c2ea41775073a0ca8dfe4be6969488447f4 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