Don't depend on /etc/motd in attach_fhs unit test
Don't depend on /etc/motd in attach_fhs unit test

Relying on the presence of a filesystem file for a unit test is
sub-optimal.  The test will fail on systems where the file is not
present (e.g. Windows and chroot build environments).

Instead, create a temporary file and write the plaintext to the file
before calling gpg.

Signed-off-by: Kevin Locke <945d6ce1f492ca7aa6fe1cfbb97996334449d372@digitalenginesoftware.com>

kevinoid/py-gnupg