From unknown Sun Jun 22 08:12:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69975] [PATCH] gnu: Add bash-unit. Resent-From: chris Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Mar 2024 10:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69975@debbugs.gnu.org Cc: chris X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171127639632734 (code B ref -1); Sun, 24 Mar 2024 10:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Mar 2024 10:33:16 +0000 Received: from localhost ([127.0.0.1]:47450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLAC-0008Vo-7E for submit@debbugs.gnu.org; Sun, 24 Mar 2024 06:33:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:36934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLA8-0008VQ-Rb for submit@debbugs.gnu.org; Sun, 24 Mar 2024 06:33:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roJQh-0005hR-BV for guix-patches@gnu.org; Sun, 24 Mar 2024 04:42:11 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roJQf-0002BI-4k for guix-patches@gnu.org; Sun, 24 Mar 2024 04:42:11 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id F0E372095C26 for ; Sun, 24 Mar 2024 09:41:57 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1711269716; x=1713084117; bh=SgL4s/RiOJujEINnlpY7THxkGzgMO1cs+/LIcphCcdY=; b=q/sZOGvkU2H2 otxkRl9bB4GekWU2ZfQfyP5wkrFGgRid7VXGU2IXXkjFBfj4J28dGhtX43qrH9Kv YAMrCSQhvxrFqLzyoG+YsLgnwB0zPZWheHJKtr/SDYZNlfnSSvM8um7llXezqWvj YQ1wK/6z5FU/G4LctH8K2OwB2l2FYnBkaGBLKMpL04IU/IJb6iQUR5bL3CBtR2cJ zHsbr6kWmam+AyvE8sU0hSf1vYZN+T4PKW6a+bzKdMgUEF1Ys28Uv1AztVTghp41 4TNFRgw0om0dCKQK8TKGlzJjbayVzZwhzJu4oXRWsmh2f/aT509vpsG4pFizKqyS sdnpd81y7L9R5GScqY0vs4IrGEI0iLJmByQJck6Uc0uv2uag3y8X7ZyqooA0ccQY 7DnW4I7Ld9be57qjtiJ7vwun1MRQUBzkyTN2JtQkYoP3mYQAeemKQv34wNVqdMGG THCb3rnMz7eJqQ1+4EkCR0irbkruAz9fKAQxb88laFua7wlcQdXWD2Yq22GFrlq3 7A2zX3q6w7onPe7OvSQ9LiVrVBz8IM0IQU8noxOFwPwsjnO8G/NLcjcDxp5Twbtt VL77N4pXSScnqGlhRmvW47KOgppCHKGT373rY+myNTSnV79Ih/W+g70lbYYzRN1i 6ie00MNBqAR+yDANP82HnA9+/sVfNWY= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id VKNUzbP5Q1pp for ; Sun, 24 Mar 2024 09:41:56 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 4DAF62095C24 for ; Sun, 24 Mar 2024 09:41:55 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 91D9620D5841 for ; Sun, 24 Mar 2024 09:41:55 +0100 (CET) From: chris Date: Sun, 24 Mar 2024 01:40:03 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * (bash-unit): New variable. Change-Id: I0952538a456e2ce5f6bbb94c0fa8c1b467606835 --- gnu/packages/bash.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index bb3359d5d1..17a371d385 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2021 Marius Bakke +;;; Copyright © 2024 chris ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,6 +48,7 @@ (define-module (gnu packages bash) #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix build-system trivial) #:autoload (guix gnupg) (gnupg-verify*) #:autoload (guix base32) (bytevector->nix-base32-string) @@ -481,3 +483,33 @@ (define-public blesh which replaces the default GNU Readline. It adds syntax highlighting, auto suggestions, vim modes, and more to Bash interactive sessions.") (license license:bsd-3))) + +(define-public bash-unit + (package + (name "bash-unit") + (version "2.3.1") + (home-page "https://github.com/pgrange/bash_unit") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16vaw9lc7g43g9va1kxbzxqs6b1mawsj4gqi8izz9km3dkbn3pli")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("bash_unit" "bin/")) + #:phases (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./bash_unit" "tests/test_core.sh")) #t))))) + (inputs (list bash-minimal)) + (synopsis "Bash unit testing framework") + (description + "@command{bash_unit} allows you to write unit tests, run them and, in case of + failure, display the stack trace with source file and line number indications + to locate the problem.") + (license license:gpl3+))) base-commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611 -- 2.41.0 From unknown Sun Jun 22 08:12:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69975] [PATCH] gnu: Add bash-unit. References: Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 19:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69975@debbugs.gnu.org Cc: chris Received: via spool by 69975-submit@debbugs.gnu.org id=B69975.172055410617281 (code B ref 69975); Tue, 09 Jul 2024 19:42:01 +0000 Received: (at 69975) by debbugs.gnu.org; 9 Jul 2024 19:41:46 +0000 Received: from localhost ([127.0.0.1]:54151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRGif-0004Ue-Ox for submit@debbugs.gnu.org; Tue, 09 Jul 2024 15:41:45 -0400 Received: from mx2.dismail.de ([159.69.191.136]:23185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRGid-0004UO-3r for 69975@debbugs.gnu.org; Tue, 09 Jul 2024 15:41:44 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 57a392b9; Tue, 9 Jul 2024 21:41:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:date:message-id:mime-version:content-type; s=20190914; bh=cUKxTLXdLq+Me5TmfHICL4DGavnLOQys7fL7v2732qg=; b= gHnYUU/X8MIKUU9qXJ2rOKr9d7qM5UCq1znPB6z5idhCW+jpUuvLy3mfog7LrA2n xoFg53vZPkicFgjWtBIRAbenYrMvL1yH0y5svyh4sviJhs+RT2KsUob3Be/X5T0j eu4X6J6xA/5JxT7WZdMX1HUq4wOsZ8aj5YBhCNHLey+YGs8SkQWAtJb6lS8ewQ/Z 57+qTQ0XFd8N/NYY97cy85p7/kr28tjiHLoLG2qa1KnV3f6f+LDSNK8DDFyR5qRA tlOySy0lHyz1rZOCxwBa5krhBgDZ8+xvZ2KZAx3R9nKuo7+fwVDR3X6NFiYgjT+Q eFMIU35Dl1IxEcBbr/uMBw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id da13c7ec; Tue, 9 Jul 2024 21:41:30 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id e22c3894; Tue, 9 Jul 2024 21:41:30 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 80f3fe4d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 9 Jul 2024 21:41:30 +0200 (CEST) From: jgart In-Reply-To: Date: Tue, 09 Jul 2024 14:41:25 -0500 Message-ID: <87ttgy8iai.fsf@syn-2600-6c98-a540-001b-0000-0000-0000-08b5.biz6.spectrum.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) hi chris, this patch does not apply any longer. i can take a look if you are able to find the time to send a new patch rebased on the latest master that applies -- all the best, jgart From unknown Sun Jun 22 08:12:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69975] [PATCH] gnu: Add bash-unit. References: In-Reply-To: Resent-From: chris Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 07:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69975@debbugs.gnu.org Cc: chris Received: via spool by 69975-submit@debbugs.gnu.org id=B69975.172076910710619 (code B ref 69975); Fri, 12 Jul 2024 07:26:01 +0000 Received: (at 69975) by debbugs.gnu.org; 12 Jul 2024 07:25:07 +0000 Received: from localhost ([127.0.0.1]:53112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSAeQ-0002lB-Oo for submit@debbugs.gnu.org; Fri, 12 Jul 2024 03:25:07 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:34872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSAeN-0002kZ-6M for 69975@debbugs.gnu.org; Fri, 12 Jul 2024 03:25:05 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 92B32282DF34 for <69975@debbugs.gnu.org>; Fri, 12 Jul 2024 09:24:56 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20240523; t=1720769093; x=1722583494; bh=TV5DKQNJaQ+9sD58msahoyqud4qhZBrwPKXSnI3E2g8=; b=BDDgPrWajTuQ 6EBVv3ZuUo6JqTS0GY7jrHHlkroJARTu/3/0htSuKVSUt5vCB6vvGKjWlPfNdLfY LQ0Hw0jnVs8wxH1nYiFu7Tcrk7H3+IrSYq9g45CWZEqPKZLeFtzF5NJ0o3EeIwWE 9BXSR9TtMbQQaDmPwXz9A5M2kcdKP8ec17+Di9RKolVoDdoqRaaLYskuD1vNrimM Y1J603o7iEpMA5Tv8zaAJLerWnXC35pMKPQdY/z31/oFqSAXDPmPgWvG3ZhzHsRq gBwWy40CrxPVkkBCS8F3IOPmvXxn3ECFiJMIxanaXvJh1JCX9+YVxzQgz+BKvkD2 8A7e9X+Jsw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 6bXIjr0-T8Ms for <69975@debbugs.gnu.org>; Fri, 12 Jul 2024 09:24:53 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 792E2282DF31 for <69975@debbugs.gnu.org>; Fri, 12 Jul 2024 09:24:51 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id A01283073F76 for <69975@debbugs.gnu.org>; Fri, 12 Jul 2024 09:24:51 +0200 (CEST) From: chris Date: Fri, 12 Jul 2024 00:23:12 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/bash.scm (bash-unit): New variable. Change-Id: Ic4185a2364922b03efe7f528e474ac9e71cbf66c --- gnu/packages/bash.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 9ecec0a484..a497c77b67 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2024 Oleg Pykhalov +;;; Copyright © 2024 chris ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ (define-module (gnu packages bash) #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix build-system trivial) #:autoload (guix gnupg) (gnupg-verify*) #:autoload (guix base32) (bytevector->nix-base32-string) @@ -487,3 +489,33 @@ (define-public blesh which replaces the default GNU Readline. It adds syntax highlighting, auto suggestions, vim modes, and more to Bash interactive sessions.") (license license:bsd-3))) + +(define-public bash-unit + (package + (name "bash-unit") + (version "2.3.1") + (home-page "https://github.com/pgrange/bash_unit") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16vaw9lc7g43g9va1kxbzxqs6b1mawsj4gqi8izz9km3dkbn3pli")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("bash_unit" "bin/")) + #:phases (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./bash_unit" "tests/test_core.sh")) #t))))) + (inputs (list bash-minimal)) + (synopsis "Bash unit testing framework") + (description + "@command{bash_unit} allows you to write unit tests, run them and, in case of + failure, display the stack trace with source file and line number indications + to locate the problem.") + (license license:gpl3+))) base-commit: 2d6a3799fcda5c017f653c6e96b91964b07a7ee0 -- 2.45.2 From unknown Sun Jun 22 08:12:05 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69975] [PATCH] gnu: Add bash-unit. Resent-From: chris Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Jul 2024 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69975 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69975@debbugs.gnu.org Cc: chris , jgart Received: via spool by 69975-submit@debbugs.gnu.org id=B69975.172076934811050 (code B ref 69975); Fri, 12 Jul 2024 07:30:02 +0000 Received: (at 69975) by debbugs.gnu.org; 12 Jul 2024 07:29:08 +0000 Received: from localhost ([127.0.0.1]:53121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSAiJ-0002s9-Qu for submit@debbugs.gnu.org; Fri, 12 Jul 2024 03:29:08 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:57502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSAiJ-0002rh-2R for 69975@debbugs.gnu.org; Fri, 12 Jul 2024 03:29:07 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 81930375A56C; Fri, 12 Jul 2024 09:29:01 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received:received; s=dkim20240523; t= 1720769340; x=1722583741; bh=zsWDGyA3vY4BtRcR93jFpCnKn7B6Z4124gG TDroNwyw=; b=MytcA7pFDOphwfclkgmlPa1+2dsdqRnFUrX+6fFmhSvxk+hi8dd crgVwHfuke0brwy59wHvN/z67rpDJ3qMpoqUAKr/DnNjZ8XjwQLx818yCCtNB5z+ qAu33ItSyp7RtVvxATDF2d+9NJo2oNNdBAkp37seAMispZK+KJBuLotQ1+IuSIGB f0vPQ3zyU4w452/bB/cXzzPgX0rzTZgMLwUAe8zjbzCxl7qimT8OeJlkMnke7xBZ rwKE2sQ3DzuJxkzhVAB+ACk9EWTu4AHX9DW4JEVISccbbdfclvp58WamjDKud4k5 nLCpChXMppQY1GlrOe9/SGp0AebdCMLSubQ== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id yS1x6qqS8waB; Fri, 12 Jul 2024 09:29:00 +0200 (CEST) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 375CF30E8AC3; Fri, 12 Jul 2024 09:29:00 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id EE9B920BE050; Fri, 12 Jul 2024 09:28:59 +0200 (CEST) Date: Fri, 12 Jul 2024 00:27:32 -0700 From: chris Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > can take a look if you are able to find the time to send a new patch rebased on the latest master An updated patch is submitted From unknown Sun Jun 22 08:12:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: chris Subject: bug#69975: closed (Re: [bug#69975] [PATCH] gnu: Add bash-unit.) Message-ID: References: X-Gnu-PR-Message: they-closed 69975 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 69975@debbugs.gnu.org Date: Tue, 11 Mar 2025 12:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1741695722-16907-1" This is a multi-part message in MIME format... ------------=_1741695722-16907-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69975: [PATCH] gnu: Add bash-unit. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69975@debbugs.gnu.org. --=20 69975: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69975 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1741695722-16907-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69975-done) by debbugs.gnu.org; 11 Mar 2025 12:21:15 +0000 Received: from localhost ([127.0.0.1]:42047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1trybj-0004NR-3d for submit@debbugs.gnu.org; Tue, 11 Mar 2025 08:21:15 -0400 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]:59459) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1trybd-0004Mu-At for 69975-done@debbugs.gnu.org; Tue, 11 Mar 2025 08:21:12 -0400 Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-72b8986de41so523551a34.2 for <69975-done@debbugs.gnu.org>; Tue, 11 Mar 2025 05:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1741695663; x=1742300463; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=774r6xUmWILLqf/Fbe0Gk9/Mor5YfctYFDSGKe1+PnQ=; b=J6WiB0AJrlPXwKN5lwMZrZ/Z5/5zcBHePKDCdM4lBMfq2/rAsfKuvhy7nKpTZ+fGI2 wJ42lLhCcdsnEhDM+/6R8QtCVeIQ05/MovLpOmA1ra8jcY1WlVcwHd92bnmxPxAlaILL E2H2r1llCov9FdKkhe+ETgW1wKzaGbuB4Wq2yeK1buZOICVib+BQ/I8pIdD+X8Ih7bdD wU9UqCINesC3lYgE6/+Q++P0UJ3OtC3u3CY/Ln76D9qN/3fS8Vj/aOtOp3V1rc7oEDts MeNwCf4zk0n2yXvxeJ70ij5SfsMBr8Ihjwy0/sCN+skXUu/GILqB5kSCBjywVYDtWMUU PU4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741695663; x=1742300463; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=774r6xUmWILLqf/Fbe0Gk9/Mor5YfctYFDSGKe1+PnQ=; b=wJKyV/6PacePaUp3nMogDCRFuIaW4my1xg+e27F4jk/Ep6M17TPPAHLbQDa8UTsilL oR0aFb91LPOkvrgQ5ABVEJAky15MceJZk/ruTk4I49BGlMdd8X/0kdyZE/EnmnCubZzT Kn09LTvDrYPlMmWuLYJkp3+kTNX7g8U2KEz2lxG3p7KCWWrLFt4+YRJkIcrjYe4vjkyq O06xEzY0PA2c13kApMC7RxCyNeqPhXaoD/20vFFd5voQWKb55uAoITwq0IzTkPVle5td CkB7asP1t3Mw4J0L2atKkEU8gy9osp9I8VnO+2j+OBHD18kHRu7A4SPdH55tUTK8gtpL aJXA== X-Forwarded-Encrypted: i=1; AJvYcCW5trqmwp01nVa3c2Z/mvy261nV80LcRFDqydd5K8/yKgw84iRl6XBPyuVZXUmZNc0Q5fAXx5/pSm4p@debbugs.gnu.org X-Gm-Message-State: AOJu0YxLzDI2UpuxNmM0vn2oN2j9f4px/kRDGlUZnPQNwrHRq9ACXSgF 0vNlqIJTKVKmTFyIGKAWZu3C9XCp9toYHj7uArsH9UxyEsWsI+F3qumvFuiruom74vlDWAHm+UI Me8pwBbPPR42bN55t00qfhSAHp2s2b1QXSHTg3w== X-Gm-Gg: ASbGncsLcIwhDqtmlqKtrDquJDBEgZ5O+F1ewfzdIjGI08q1EsN+EXh+83Zw/SqIfU3 fHhWB9KJEXIsnjGTPu/Ouj3InaT0TUTKLnZaKFAcyWF2dbZvd1WmxKJzlX0yalJzQhVIjMP+VlG n7uZRyxMyw3n0oIp8QDnEde12paA== X-Google-Smtp-Source: AGHT+IFnVhgPPrgA1uBaFhYqsD4DCpHjGmzlLeC0lPzJW3GNIVu5CKv6OzQhfETjoFKnFK5bndRokAuU5Baysvzjk2k= X-Received: by 2002:a05:6830:3104:b0:72b:946e:ccc9 with SMTP id 46e09a7af769-72b946ed5d8mr3432918a34.8.1741695661994; Tue, 11 Mar 2025 05:21:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Hogan Date: Tue, 11 Mar 2025 08:20:50 -0400 X-Gm-Features: AQ5f1Jp0ojUUZHXfr1lnOB2LsSUG8tK_KpaSzPvP9GZDUJpiNofCLbfNEkJ9hCY Message-ID: Subject: Re: [bug#69975] [PATCH] gnu: Add bash-unit. To: chris Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69975-done Cc: 69975-done@debbugs.gnu.org, jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Jul 12, 2024 at 3:30=E2=80=AFAM chris wrote: > > > can take a look if you are able to find the time to send a new patch re= based on the latest master > > An updated patch is submitted Bumped the version to 2.3.2 and pushed as 338867d01cf362679cbed37e93ed2527664a9104. Greg ------------=_1741695722-16907-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Mar 2024 10:33:16 +0000 Received: from localhost ([127.0.0.1]:47450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLAC-0008Vo-7E for submit@debbugs.gnu.org; Sun, 24 Mar 2024 06:33:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:36934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLA8-0008VQ-Rb for submit@debbugs.gnu.org; Sun, 24 Mar 2024 06:33:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roJQh-0005hR-BV for guix-patches@gnu.org; Sun, 24 Mar 2024 04:42:11 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roJQf-0002BI-4k for guix-patches@gnu.org; Sun, 24 Mar 2024 04:42:11 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id F0E372095C26 for ; Sun, 24 Mar 2024 09:41:57 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1711269716; x=1713084117; bh=SgL4s/RiOJujEINnlpY7THxkGzgMO1cs+/LIcphCcdY=; b=q/sZOGvkU2H2 otxkRl9bB4GekWU2ZfQfyP5wkrFGgRid7VXGU2IXXkjFBfj4J28dGhtX43qrH9Kv YAMrCSQhvxrFqLzyoG+YsLgnwB0zPZWheHJKtr/SDYZNlfnSSvM8um7llXezqWvj YQ1wK/6z5FU/G4LctH8K2OwB2l2FYnBkaGBLKMpL04IU/IJb6iQUR5bL3CBtR2cJ zHsbr6kWmam+AyvE8sU0hSf1vYZN+T4PKW6a+bzKdMgUEF1Ys28Uv1AztVTghp41 4TNFRgw0om0dCKQK8TKGlzJjbayVzZwhzJu4oXRWsmh2f/aT509vpsG4pFizKqyS sdnpd81y7L9R5GScqY0vs4IrGEI0iLJmByQJck6Uc0uv2uag3y8X7ZyqooA0ccQY 7DnW4I7Ld9be57qjtiJ7vwun1MRQUBzkyTN2JtQkYoP3mYQAeemKQv34wNVqdMGG THCb3rnMz7eJqQ1+4EkCR0irbkruAz9fKAQxb88laFua7wlcQdXWD2Yq22GFrlq3 7A2zX3q6w7onPe7OvSQ9LiVrVBz8IM0IQU8noxOFwPwsjnO8G/NLcjcDxp5Twbtt VL77N4pXSScnqGlhRmvW47KOgppCHKGT373rY+myNTSnV79Ih/W+g70lbYYzRN1i 6ie00MNBqAR+yDANP82HnA9+/sVfNWY= X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id VKNUzbP5Q1pp for ; Sun, 24 Mar 2024 09:41:56 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 4DAF62095C24 for ; Sun, 24 Mar 2024 09:41:55 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 91D9620D5841 for ; Sun, 24 Mar 2024 09:41:55 +0100 (CET) From: chris To: guix-patches@gnu.org Subject: [PATCH] gnu: Add bash-unit. Date: Sun, 24 Mar 2024 01:40:03 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=chris@bumblehead.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: chris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * (bash-unit): New variable. Change-Id: I0952538a456e2ce5f6bbb94c0fa8c1b467606835 --- gnu/packages/bash.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index bb3359d5d1..17a371d385 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 Mathieu Othacehe ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2021 Marius Bakke +;;; Copyright © 2024 chris ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,6 +48,7 @@ (define-module (gnu packages bash) #:use-module (guix monads) #:use-module (guix store) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix build-system trivial) #:autoload (guix gnupg) (gnupg-verify*) #:autoload (guix base32) (bytevector->nix-base32-string) @@ -481,3 +483,33 @@ (define-public blesh which replaces the default GNU Readline. It adds syntax highlighting, auto suggestions, vim modes, and more to Bash interactive sessions.") (license license:bsd-3))) + +(define-public bash-unit + (package + (name "bash-unit") + (version "2.3.1") + (home-page "https://github.com/pgrange/bash_unit") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16vaw9lc7g43g9va1kxbzxqs6b1mawsj4gqi8izz9km3dkbn3pli")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("bash_unit" "bin/")) + #:phases (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./bash_unit" "tests/test_core.sh")) #t))))) + (inputs (list bash-minimal)) + (synopsis "Bash unit testing framework") + (description + "@command{bash_unit} allows you to write unit tests, run them and, in case of + failure, display the stack trace with source file and line number indications + to locate the problem.") + (license license:gpl3+))) base-commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611 -- 2.41.0 ------------=_1741695722-16907-1--