From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB92A15808B for ; Sat, 5 Oct 2024 04:15:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5190E29C3; Sat, 5 Oct 2024 04:15:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFABBE29C3 for ; Sat, 5 Oct 2024 04:15:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EC91342F9D for ; Sat, 5 Oct 2024 04:15:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C35081FBE for ; Sat, 5 Oct 2024 04:15:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723911396.324bb9eda0989e39f4afe94e019c521fb3c0d377.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: / X-VCS-Repository: proj/gentoo-functions X-VCS-Files: test-functions X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 324bb9eda0989e39f4afe94e019c521fb3c0d377 X-VCS-Branch: master Date: Sat, 5 Oct 2024 04:15:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd95a8e9-23b9-4fc2-84c8-aa67ff735506 X-Archives-Hash: b00697756282d61ddf450d2fe26b4ff0 commit: 324bb9eda0989e39f4afe94e019c521fb3c0d377 Author: Kerin Millar plushkava net> AuthorDate: Sun Aug 11 17:29:42 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 17 16:16:36 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=324bb9ed test-functions: do not check that genfun_time is greater than -1 In point of fact, it can be expected to overflow sometimes. Especially if running mksh. Fixes: 52f551e5a01ab030c131c2e7f196a8a76235583d Signed-off-by: Kerin Millar plushkava.net> test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-functions b/test-functions index 51f3adf..16f9481 100755 --- a/test-functions +++ b/test-functions @@ -1111,7 +1111,7 @@ test_update_time() { fi case $? in 0) - is_int "${genfun_time}" && test "${genfun_time}" -ge 0 + is_int "${genfun_time}" ;; 2) # Unsupported for the platform and therefore untestable.