Merge branch 'jc/diff-test-updates'
[gitweb.git] / t / lib-gpg.sh
index 16e0d3fcafc9e410a51dae639c211228753d29ae..db2ef22e8f76a54c851424dd19c1232f6061392c 100755 (executable)
@@ -36,6 +36,8 @@ else
                        "$TEST_DIRECTORY"/lib-gpg/keyring.gpg &&
                gpg --homedir "${GNUPGHOME}" 2>/dev/null --import-ownertrust \
                        "$TEST_DIRECTORY"/lib-gpg/ownertrust &&
+               gpg --homedir "${GNUPGHOME}" </dev/null >/dev/null 2>&1 \
+                       --sign -u committer@example.com &&
                test_set_prereq GPG
                ;;
        esac