Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Aug 2026 20:00:56 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 433412518830 - stable/15 - kyua-debug: Add -P option
Message-ID:  <6a6fa1f8.276c8.34debcbb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=433412518830e54a879072cfe3f1324ecc42335f

commit 433412518830e54a879072cfe3f1324ecc42335f
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-07-22 08:37:56 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-08-02 19:59:24 +0000

    kyua-debug: Add -P option
    
    Add -P as shorthand for --pause-before-cleanup.
    
    MFC after:      1 week
    Reviewed by:    ngie
    Differential Revision:  https://reviews.freebsd.org/D56613
    
    (cherry picked from commit 7c51da13ae55dc98e9cc1b794e1fe6fc001d7f42)
---
 contrib/kyua/cli/cmd_debug.cpp   | 1 +
 contrib/kyua/doc/kyua-debug.1.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/kyua/cli/cmd_debug.cpp b/contrib/kyua/cli/cmd_debug.cpp
index c00920c1a3f7..a6cbd060da14 100644
--- a/contrib/kyua/cli/cmd_debug.cpp
+++ b/contrib/kyua/cli/cmd_debug.cpp
@@ -58,6 +58,7 @@ const cmdline::bool_option pause_before_cleanup_upon_fail_option(
 
 
 const cmdline::bool_option pause_before_cleanup_option(
+    'P',
     "pause-before-cleanup",
     "Pauses right before the test cleanup");
 
diff --git a/contrib/kyua/doc/kyua-debug.1.in b/contrib/kyua/doc/kyua-debug.1.in
index 263aef3667a7..a28c82dc270f 100644
--- a/contrib/kyua/doc/kyua-debug.1.in
+++ b/contrib/kyua/doc/kyua-debug.1.in
@@ -25,7 +25,7 @@
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.Dd March 25, 2025
+.Dd July 22, 2026
 .Dt KYUA-DEBUG 1
 .Os
 .Sh NAME
@@ -99,7 +99,7 @@ This flag makes it possible to preserve such artifacts immediately after a test
 failure, simplifying debugging.
 Otherwise, these artifacts would be removed by the test cleanup routine or
 by Kyua built-in cleanup mechanism.
-.It Fl -pause-before-cleanup
+.It Fl -pause-before-cleanup , Fl P
 The unconditional variant of the previous option.
 This can be helpful for reproducing the infrastructure or fixture of a passing
 test for further development or additional analysis.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a6fa1f8.276c8.34debcbb>