Since it's not so easy to encrypt a message exactly the same way twice, we only verify if the message has been encrypted or not. Introduce minor changes to the library itself, because it doesn't work very well with modern GnuPG. Also, include GnuPG directory (pointed at by --homedir option).
19 lines
281 B
Makefile
19 lines
281 B
Makefile
PYTHON = python2.7
|
|
|
|
.PHONY: test pre-clean clean
|
|
|
|
test: test/tmp test/logs pre-clean
|
|
$(PYTHON) test/e2e_test.py
|
|
|
|
pre-clean:
|
|
rm -fv test/gpg-mailgate.conf
|
|
rm -f test/logs/*.log
|
|
|
|
test/tmp:
|
|
mkdir test/tmp
|
|
|
|
test/logs:
|
|
mkdir test/logs
|
|
|
|
clean: pre-clean
|
|
rm -rfv test/tmp test/logs
|