From nobody Tue May 05 17:59:53 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g95rb09c2z6c4Dc for ; Tue, 05 May 2026 17:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g95rZ5S1jz47p4 for ; Tue, 05 May 2026 17:59:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778003998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ez8bqK2UYur8sDk0zHaM52AK1e3O1SqXvHpTr/6ykNc=; b=D01OrbfLjG8PvNlYT0IER1jh/iseZWuMvVKXNwfyqDvqNCK4Se7WOfbMeNIThWUMuz4Zlp NBWwKJjqWh5pFeCx8qNPrdXarQ5H7Ahj0FyYHK4pwzXk4U793QwzJb2ai5vtR13KSHlfI6 fxklmZ7Ac4GXO2s53szynoWxdoWoBB5i3poftsqgMMeu3ef8MDSjdbjzmXgDqeJ1w7bkLN EfwV9SxSl+0v6s1osgiMqxTvPFXU9G9OsnhfJmcnlbzkhqClzCFnBRS8tqLP5bxtuyJHyr GYK6rSBEJ5CKyTHi/UrQy1PsGjG2kiDz9f4l4gc7BJFYgs55b+XR6IStK15Cng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778003998; a=rsa-sha256; cv=none; b=Pk1QcADQv70A+plof+aUUONpadqi3pJcIRlUSqvxTBtYcRPlPel6AOwKhWzdVCpbjF9kgg bXEJSY8ICfAmYbh4v6FThRmT2qfkkGFcztGiwwG92X6al8Iv0k++FrWLSLH/k/2XnSer6F ZNZ+iOIbZxe0Wdpom534VaKjtgxAvMnPkis8W9g7SFPCwXdNVjmt5P+lB3EAuOK3tJBGy0 30SS3+buCgodfx+zwEj9EoNIus9TMleOluyVjbDWnEywBmjC6ta0j3xNX1ehW2z/xgefQ5 bSNsloDEb3VSlokzzFLxjCsD0eRZCGC1LG0Yf8fthILVev9yDU6i+bby8buH2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778003998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ez8bqK2UYur8sDk0zHaM52AK1e3O1SqXvHpTr/6ykNc=; b=OvI2ulXBuLCrJuK4yPake+ayYzXEjqJJuUtD9SWzzorQjBSVobAOHJYBSH4nYHkPRLuana XvNvdKcsmKMuPTqy42aMUgQe8JmOQZ3hqB+FR0R9rUNdQeh6w/nGxuIwh/j/MjKmlRplk5 aNarozymWTYKp4lDN8yNTss7UYmAybvcTrO/8gQc50RAqIha0rJ2QMWsqZWuhowPE0n2vR XMmuPne9hmtHZUtKuzQ1wT1ucE01UoZzrN9NlXLkmde5oTm62LohwzM7YnbFw40fF4Zd1n xLM3LFIgkRTZaDUttuxioXs+4YwISWAxKHM/ve8FBLfvFw4AW+leyWnGRYi+5Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g95rZ4bBTz1H9x for ; Tue, 05 May 2026 17:59:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 35fbc by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 05 May 2026 17:59:53 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: 49e496d27768 - main - stat: Set the timezone before testing -t flag List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49e496d2776870fb36ed8ea4c8139b5eb9f7f747 Auto-Submitted: auto-generated Date: Tue, 05 May 2026 17:59:53 +0000 Message-Id: <69fa3019.35fbc.736fd5e5@gitrepo.freebsd.org> The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=49e496d2776870fb36ed8ea4c8139b5eb9f7f747 commit 49e496d2776870fb36ed8ea4c8139b5eb9f7f747 Author: Dag-Erling Smørgrav AuthorDate: 2026-05-05 17:59:36 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-05-05 17:59:36 +0000 stat: Set the timezone before testing -t flag The test assumes UTC, which is what I use on my development systems and clearly what is used on our CI runners. MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D56836 --- usr.bin/stat/tests/stat_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/stat/tests/stat_test.sh b/usr.bin/stat/tests/stat_test.sh index f2de15cf4f9b..282efc91303f 100755 --- a/usr.bin/stat/tests/stat_test.sh +++ b/usr.bin/stat/tests/stat_test.sh @@ -1,7 +1,7 @@ # # Copyright (c) 2017 Dell EMC # All rights reserved. -# Copyright (c) 2025 Klara, Inc. +# Copyright (c) 2025-2026 Klara, Inc. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -234,9 +234,9 @@ t_flag_head() { atf_set "descr" "Verify the output format for -t" } - t_flag_body() { + export TZ=UTC atf_check touch foo atf_check touch -d 1970-01-01T00:00:42 foo atf_check -o inline:'42\n' \