Add --batch option to mock gpg tool
authorJacob Bachmeyer <jcb@gnu.org>
Fri, 10 Mar 2023 04:14:14 +0000 (22:14 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Fri, 10 Mar 2023 04:14:14 +0000 (22:14 -0600)
testsuite/lib/exec/mockgpg

index a46d78bb602c69b472c856e7c00ca861e478bac3..5ef15d270d72846ceabb294b3359dd7cddf94a5c 100755 (executable)
@@ -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