From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id CCF11384B0C0 for ; Mon, 27 Apr 2020 07:49:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CCF11384B0C0 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-318-v-IIavwfNvqvl0jU2VJltQ-1; Mon, 27 Apr 2020 03:49:42 -0400 X-MC-Unique: v-IIavwfNvqvl0jU2VJltQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8FA40107ACF3 for ; Mon, 27 Apr 2020 07:49:41 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-112-248.ams2.redhat.com [10.36.112.248]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AD4725D9D7; Mon, 27 Apr 2020 07:49:37 +0000 (UTC) From: Florian Weimer To: Carlos O'Donell via Libc-alpha Subject: Re: [PATCH] test-container: Add $complocaledir and mkdirp. References: <6cf7432e-53ff-7c13-cb7a-55316faab495@redhat.com> Date: Mon, 27 Apr 2020 09:49:36 +0200 In-Reply-To: <6cf7432e-53ff-7c13-cb7a-55316faab495@redhat.com> (Carlos O'Donell via Libc-alpha's message of "Sun, 26 Apr 2020 15:17:14 -0400") Message-ID: <87blndfjvz.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2020 07:49:48 -0000 * Carlos O'Donell via Libc-alpha: > From 925c47b47d597663606486402c38e2e729ed663c Mon Sep 17 00:00:00 2001 > From: Carlos O'Donell > Date: Thu, 23 Jan 2020 09:45:00 -0500 > Subject: [PATCH] test-container: Add $complocaledir and mkdirp. > > In order to test localedef in the test-container framework it > is necessary to add support for one new variable and one new > command. For localedef to install a compiled locale in the default > location the directory needs to be created > e.g. mkdir -p $complocaledir/dir. This command requires both the > new command 'mkdirp' e.g. mkdir -p, and the new variable > $complocaledir. The only way to avoid this would be to install > locales into the pristine container root, but that would slow down > container testing (currently only has builtin C/POSIX available). You could create the directory unconditionally, without installing any locales into it? Thanks, Florian