From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1486356-garchives=archives.gentoo.org@lists.gentoo.org> 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 4294815800F for <garchives@archives.gentoo.org>; Tue, 14 Feb 2023 00:09:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A705E0729; Tue, 14 Feb 2023 00:09:54 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBED6E0729 for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2023 00:09:53 +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 09185335D88 for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2023 00:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CA8E8A6 for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2023 00:09:50 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1676333293.26d09671f8994d7e1ac43d743f77a1f10e8d92c9.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: 26d09671f8994d7e1ac43d743f77a1f10e8d92c9 X-VCS-Branch: master Date: Tue, 14 Feb 2023 00:09:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05eee457-d383-44b9-9bf4-d168a046db9e X-Archives-Hash: 21c1c458a5f43b0ca38d5b62f5c8a439 commit: 26d09671f8994d7e1ac43d743f77a1f10e8d92c9 Author: Kerin Millar <kfm <AT> plushkava <DOT> net> AuthorDate: Mon Feb 13 23:02:49 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Feb 14 00:08:13 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=26d09671 test-functions: Also test is_older_than with just one argument Signed-off-by: Kerin Millar <kfm <AT> plushkava.net> Signed-off-by: Sam James <sam <AT> gentoo.org> test-functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-functions b/test-functions index df838f7..2c1fa67 100755 --- a/test-functions +++ b/test-functions @@ -27,6 +27,10 @@ cleanup_tmpdir() { test_is_older_than() { set -- \ 1 N/A N/A \ + 1 newer N/A \ + 1 newer-empty N/A \ + 1 newer/file N/A \ + 1 non-existent N/A \ 0 newer newer \ 1 newer newer-empty \ 0 newer newer/file \