aboutsummaryrefslogtreecommitdiff
path: root/testsuite/etc/gpgse.pat
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/etc/gpgse.pat')
-rw-r--r--testsuite/etc/gpgse.pat55
1 files changed, 0 insertions, 55 deletions
diff --git a/testsuite/etc/gpgse.pat b/testsuite/etc/gpgse.pat
deleted file mode 100644
index 7556016..0000000
--- a/testsuite/etc/gpgse.pat
+++ /dev/null
@@ -1,55 +0,0 @@
1# This file is part of GNU Anubis testsuite.
2# Copyright (C) 2003-2014 The Anubis Team.
3#
4# GNU Anubis is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2 of the License, or
7# (at your option) any later version.
8#
9# GNU Anubis is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with GNU Anubis; if not, write to the Free Software Foundation,
16# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18:TEST GPG Signing & Encryption
19:MODE SPAWN
20:OPTIONS --stdio
21:RCFILE gpg.rc
22:RETCODE 0
23:PATTERN
24:EXPECT 220
25HELO localhost
26:EXPECT 250
27MAIL FROM:<polak@gnu.org>
28:EXPECT 250
29RCPT TO:<gray@gnu.org>
30:EXPECT 250
31DATA
32:EXPECT 354
33From: <polak@gnu.org>
34To: <gray@gnu.org>
35:DEL Subject: gpg-se test@@se:anubis:anubis
36:ADD Subject: gpg-se test
37:ADD X-GPG-Comment1: Encrypted for anubis
38:ADD X-GPG-Comment2: Signed by anubis
39
40:DEL If you can read this, then it is working.
41:ADD -re -----BEGIN PGP MESSAGE-----.*-----END PGP MESSAGE-----
42.
43:EXPECT 250
44QUIT
45:EXPECT 221
46:END PATTERN
47:END TEST
48
49:TEST
50:MODE CAT
51:OPTIONS $gpg_prog --homedir $ANUBIS_DATA_DIR --decrypt
52:PATTERN
53-re .*encrypted with 1024-bit ELG-E key, ID E793A998, created 2003-02-20.*"GNU Anubis Team \(Anubis\) <anubis-dev@gnu.org>".*If you can read this, then it is working..*Signature made .* using DSA key ID DCE73402.*gpg: Good signature from "GNU Anubis Team \(Anubis\) <anubis-dev@gnu.org>".*Primary key fingerprint: 9D80 A493 F6C8 B63C FD84 E882 0DD5 03FB DCE7 3402
54:END PATTERN
55:END TEST

Return to:

Send suggestions and report system problems to the System administrator.