# nesting tests
# CASE 1: Valid file specified with -f option
#         mail message X.509 signed with correct mnt, bad sig
#         Simple object, maintained
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 
From: dbtest@ripe.net
Subject: Nothing
To: tiago@ripe.net
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040003090303010604060903"

This is a cryptographically signed message in MIME format.

--------------ms040003090303010604060903
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

This destroys the sig

person:       Test Persona
nic-hdl:      TP10-DB-TEST
address:      RIPE Network Coordination Centre (NCC)
            Singel 258
            1016 AB Amsterdam
            The Netherlands
phone:        +31 20 535 4444
fax-no:       +31 20 535 4445
e-mail:       dbtest@ripe.net
remarks:      simple one to start
notify:       dbtest@ripe.net
changed:      dbtest@ripe.net 20020723
mnt-by:       TEST-DBM-MNT
source:       DB-TEST


--------------ms040003090303010604060903
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHyjCC
A+EwggNKoAMCAQICAUcwDQYJKoZIhvcNAQEEBQAwcTELMAkGA1UEBhMCRVUxEDAOBgNVBAgT
B0hvbGxhbmQxEDAOBgNVBAoTB25jY0RFTU8xHTAbBgNVBAMTFFNvZnR3YXJlIFBLSSBUZXN0
aW5nMR8wHQYJKoZIhvcNAQkBFhBzb2Z0aWVzQHJpcGUubmV0MB4XDTAzMDQyNDE3MTc1NFoX
DTA0MDQyMzE3MTc1NFowbDELMAkGA1UEBhMCTkwxETAPBgNVBAoTCFJJUEUgTkNDMRAwDgYD
VQQLEwdNZW1iZXJzMRkwFwYDVQQDExB6ei5leGFtcGxlLnRpYWdvMR0wG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