qt: Fix tofuinfo test when gpg is gpg2
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 25 Aug 2016 13:20:02 +0000 (15:20 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 25 Aug 2016 13:20:02 +0000 (15:20 +0200)
commit053e6e0a7b8ea38ad9d4160c84814867bbb9fcf6
tree5c291fffeed07e80ac7ae42d396975e159ed2be5
parentf08904b810d77d87c66d9c7875c4e7f2bde5dd92
qt: Fix tofuinfo test when gpg is gpg2

* lang/qt/tests/t-support.cpp (QGpgMETest::copyKeyrings): New helper.
* lang/qt/tests/t-support.h: Declare.
* lang/qt/tests/t-encrypt.cpp: use it
* lang/qt/tests/t-tofuinbo.cpp: ditto.

--
New helper takes care of copying the correct files for either
keybox or keyring.
lang/qt/tests/t-encrypt.cpp
lang/qt/tests/t-support.cpp
lang/qt/tests/t-support.h
lang/qt/tests/t-tofuinfo.cpp