1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-15 04:03:41 +01:00

Enable --pinentry-mode for GPG tests

This commit is contained in:
deajan 2020-05-04 11:15:56 +01:00
parent 3d97324366
commit ff94a0cbbc

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## obackup basic tests suite 2019071901 ## obackup basic tests suite 2020050401
# Supported environment variables # Supported environment variables
@ -347,7 +347,8 @@ function test_GPG () {
if [ $cryptToolMinorVersion -ge 11 ]; then if [ $cryptToolMinorVersion -ge 11 ]; then
echo "Using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]" echo "Using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]"
additionalParameters="--pinentry-mode loopback" additionalParameters="--pinentry-mode loopback"
additionalParameters="" # WIP else
echo "Not using --pinentry-mode loopback [$cryptToolMajorVersion.$cryptToolSubVersion.$cryptToolMinorVersion]"
fi fi
fi fi