tests/openpgp: Make tests more portable.