From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26253: Coreutils 8.26 test failure on arm-linux-gnueabihf Date: Sat, 25 Mar 2017 22:30:51 +0100 Message-ID: <87h92hujqs.fsf@gnu.org> References: <87a889weaq.fsf@gnu.org> <20170325181850.GA1367@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crtI5-0000tT-AW for bug-guix@gnu.org; Sat, 25 Mar 2017 17:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crtI2-0005Vq-60 for bug-guix@gnu.org; Sat, 25 Mar 2017 17:32:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crtI2-0005Ve-3E for bug-guix@gnu.org; Sat, 25 Mar 2017 17:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crtI1-0001Ar-R9 for bug-guix@gnu.org; Sat, 25 Mar 2017 17:32:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170325181850.GA1367@jasmine> (Leo Famulari's message of "Sat, 25 Mar 2017 14:18:50 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 26253@debbugs.gnu.org Leo Famulari skribis: > On Sat, Mar 25, 2017 at 04:45:33PM +0100, Ludovic Court=C3=A8s wrote: >> In current =E2=80=98core-updates=E2=80=99 (7fdca77e007f0838ecd32b0448276= 78f2b345ff0), >> tests/misc/cut-huge-range.sh in Coreutils 8.26 fails reproducibly in the >> chroot build environment; it succeeds outside of it. > > [...] > >> So the two lines that fail are these: >>=20 >> --8<---------------cut here---------------start------------->8--- >> # Explicitly disallow values above CUT_MAX >> (ulimit -v $vm && returns_ 1 cut -b$SIZE_MAX /dev/null 2>/dev/null) || f= ail=3D1 >> (ulimit -v $vm && returns_ 1 cut -b$SIZE_OFLOW /dev/null 2>/dev/null) ||= fail=3D1 >> --8<---------------cut here---------------end--------------->8--- >>=20 >> I don=E2=80=99t understand why at this point, but I found that removing >> =E2=80=9C2>/dev/null=E2=80=9D from these two lines lets the test pass (a= nd AIUI, this >> redirection is not necessary for the test; it just hides the > > Is the same Bash shared between these two test environments (inside and > outside of the chroot)? Yes. For the outside test, I just did =E2=80=9Cguix build -K=E2=80=9D and = then =E2=80=9Csource environment-variables=E2=80=9D, which should give me the right $SHELL and s= o on. Ludo=E2=80=99.