From owner-freebsd-testing@freebsd.org Tue Oct 6 18:18:06 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE54B9D09ED for ; Tue, 6 Oct 2015 18:18:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80DECAFB; Tue, 6 Oct 2015 18:18:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pacex6 with SMTP id ex6so217452421pac.0; Tue, 06 Oct 2015 11:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zI10X5W6bxXUQ2In+jJQOZP0w8X8iKMsCNxMeS/fU+k=; b=zmz4NGjCT2sH8hI3jNY1rtgTquDzNML5VoADK3zrFPdAvFLO+ElXqfmatpqNLdQgQS Bke1esKj6xH+gh7EOaaoZ67sliadluqX/wKtJD8lMIhnsJHAkmeWjANANdyrIW94Ff6H n5YrM2M4hqs8TMKWolxz0EKR+GV3zmDaLt0lZzRCbIkVm6JLwQvxFjLHkcPOw4LHBX1J 4iJP7j3563iUo4Teg25LQRgyjE/07KHJmcVqljS0FpBThX3E+Lg0vl8IPCwUBVCJX89r p0AIW87kUPbUkBUrrEy7HgJx25ejbSxRLljVn86h8nedci412BlJq2MZvI2omXh8oaab Btfg== X-Received: by 10.66.250.197 with SMTP id ze5mr49065541pac.50.1444155486079; Tue, 06 Oct 2015 11:18:06 -0700 (PDT) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id u1sm34736461pbz.56.2015.10.06.11.18.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Oct 2015 11:18:05 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r288906 - head/bin/ls/tests From: NGie Cooper In-Reply-To: <5613DE88.10207@FreeBSD.org> Date: Tue, 6 Oct 2015 11:18:04 -0700 Cc: Garrett Cooper , "freebsd-testing@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0218C81A-A727-4B8D-8F7A-074E488D989C@gmail.com> References: <201510060055.t960tW2V068302@repo.freebsd.org> <5613DE88.10207@FreeBSD.org> To: Eric van Gyzen X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2015 18:18:06 -0000 > On Oct 6, 2015, at 07:45, Eric van Gyzen wrote: >=20 > On 10/05/2015 19:55, Garrett Cooper wrote: >> Author: ngie >> Date: Tue Oct 6 00:55:31 2015 >> New Revision: 288906 >> URL: https://svnweb.freebsd.org/changeset/base/288906 >>=20 >> Log: >> Explicitly set BLOCKSIZE to 512 in the environment >=20 > I know practically nothing about atf or our usage of it, but in = principle, it seems that the framework should scrub the whole = environment before running any tests, always. Agreed. I discovered after some digging that this variable is set by the = shell with login.conf, which affects getbsize, which in turn affects = some utilities like /bin/ls. It seems that I missed it when I was = testing in my environment, probable because I use bash (my guess is the = Jenkins test runner uses either csh or sh) :/=E2=80=A6 /bin/sh (and POSIX shells for that matter) do some interesting things in = subshells. See $SHELL as an example (I don=E2=80=99t have links right = offhand to prove it, but it made my life interesting before in the = near-ish past). Thanks!=