From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1485850-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 8AD7B15800F for <garchives@archives.gentoo.org>; Sun, 12 Feb 2023 06:42:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96D87E0896; Sun, 12 Feb 2023 06:42:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 7DB71E0896 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2023 06:42:02 +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 69AFE340D82 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2023 06:42:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 03EF97D8 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Feb 2023 06:41:59 +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: <1676184101.4c6cc2b2ad15acc3a2be7b60b10c42c47b53e1bf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/delay/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/delay/delay-1.6-r6.ebuild X-VCS-Directories: app-misc/delay/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c6cc2b2ad15acc3a2be7b60b10c42c47b53e1bf X-VCS-Branch: master Date: Sun, 12 Feb 2023 06:41:59 +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: 75d47940-c529-4c26-ab83-ca533dd3de71 X-Archives-Hash: 5e3f7c2319862c5d1f49960173eb7f81 commit: 4c6cc2b2ad15acc3a2be7b60b10c42c47b53e1bf Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Feb 12 06:31:11 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 12 06:41:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6cc2b2 app-misc/delay: add smoketests in src_test No official test suite available so let's add some quick smoketests which would've caught the segfault mentioned in bug #881319. Bug: https://bugs.gentoo.org/881319 Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/delay/delay-1.6-r6.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-misc/delay/delay-1.6-r6.ebuild b/app-misc/delay/delay-1.6-r6.ebuild index 056c0f45b6a2..bab9eb2ea719 100644 --- a/app-misc/delay/delay-1.6-r6.ebuild +++ b/app-misc/delay/delay-1.6-r6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools edo DESCRIPTION="Sleeplike program that counts down the number of seconds specified" HOMEPAGE="https://onegeek.org/~tom/software/delay/" @@ -41,3 +41,10 @@ src_configure() { econf } + +src_test() { + # No provided test suite, so let's add a smoketest which would've + # caught the segfault part of bug #881319. + edo ./delay 5 + edo ./delay until now + 1 minutes +}