From 5855ac889f21fe1b693eb158f4449e5d33a0eab0 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 9 Mar 2023 22:14:14 -0600 Subject: [PATCH] Add --batch option to mock gpg tool --- testsuite/lib/exec/mockgpg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/lib/exec/mockgpg b/testsuite/lib/exec/mockgpg index a46d78b..5ef15d2 100755 --- a/testsuite/lib/exec/mockgpg +++ b/testsuite/lib/exec/mockgpg @@ -57,6 +57,9 @@ while [ $# -gt 0 ]; do # The testing mock always uses this mode. shift ;; + --batch) + shift + ;; --keyring) # unlike gpgv, gpg can create keyrings case $2 in -- 2.25.1