# input tests
# CASE 14: Input from LIR Portal 
#          with multi line certificate command line option
#          (simulated by specifying --cert option and 
#           redirect input -f from a file)
#          no keyword specified
#
# input from LIR Portal
# ./dbupdate -c ~/db/conf/rip.config -r --cert "certificate" -f test
#
#SUCCESS
#
# RESULT 14: person is created
%
%
$DBUPDATE_FLAGS= -c $RIP_CONFIG -r -o 193.0.41.0 --cert "-----BEGIN CERTIFICATE-----
$DBUPDATE_FLAGS=MIIDKzCCApSgAwIBAgICAIMwDQYJKoZIhvcNAQEEBQAwcTELMAkGA1UEBhMCRVUx
$DBUPDATE_FLAGS=EDAOBgNVBAgTB0hvbGxhbmQxEDAOBgNVBAoTB25jY0RFTU8xHTAbBgNVBAMTFFNv
$DBUPDATE_FLAGS=ZnR3YXJlIFBLSSBUZXN0aW5nMR8wHQYJKoZIhvcNAQkBFhBzb2Z0aWVzQHJpcGUu
$DBUPDATE_FLAGS=bmV0MB4XDTAzMDkwODEwMjk0NloXDTA0MDkwNzEwMjk0NlowfTELMAkGA1UEBhMC
$DBUPDATE_FLAGS=TkwxETAPBgNVBAoTCFJJUEUgTkNDMRAwDgYDVQQLEwdNZW1iZXJzMRgwFgYDVQQD
$DBUPDATE_FLAGS=Ew91ay5idC50ZXN0LXVzZXIxLzAtBgkqhkiG9w0BCQEWIHRlc3QtdXNlckBsaW51
$DBUPDATE_FLAGS=eC50ZXN0bGFiLnJpcGUubmV0MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALiVBDl8
$DBUPDATE_FLAGS=1Bak0gcSYA12qVuIQPtzgmnrpIYW6ct/6tYuRW8RAxxPhsYk/7ryTN8WkrMOpPGV
$DBUPDATE_FLAGS=gEgsNS7f54zjKmMCAwEAAaOCAQgwggEEMAkGA1UdEwQCMAAwEQYJYIZIAYb4QgEB
$DBUPDATE_FLAGS=BAQDAgWgMAsGA1UdDwQEAwIF4DAaBglghkgBhvhCAQ0EDRYLUklQRSBOQ0MgQ0Ew
$DBUPDATE_FLAGS=HQYDVR0OBBYEFJYOoUpqFElie+wkZ7UDv8hDKRbxMIGbBgNVHSMEgZMwgZCAFB6S
$DBUPDATE_FLAGS=1H72gVX8V1QnE9JIfTSXh+6LoXWkczBxMQswCQYDVQQGEwJFVTEQMA4GA1UECBMH
$DBUPDATE_FLAGS=SG9sbGFuZDEQMA4GA1UEChMHbmNjREVNTzEdMBsGA1UEAxMUU29mdHdhcmUgUEtJ
$DBUPDATE_FLAGS=IFRlc3RpbmcxHzAdBgkqhkiG9w0BCQEWEHNvZnRpZXNAcmlwZS5uZXSCAQAwDQYJ
$DBUPDATE_FLAGS=KoZIhvcNAQEEBQADgYEAQEigjFK5VJJvAM51lktARjsVIT4c05+vhUTKXsavrnMl
$DBUPDATE_FLAGS=/u5YyrNCrU8U1vp6Lt9HLz3ktj2PlBDCV+P7PWZPMY70hTKjdatVedHnWNp3ZF25
$DBUPDATE_FLAGS=ou8bHSdxNwo2fcAhowtPG2rSh6D7XYNq+tpYAXh28onLmJUXrmbWIOgQWfNjx2Q=
$DBUPDATE_FLAGS=-----END CERTIFICATE-----" -f $TEST


person:       Test Person2
address:      Singel
phone:        +0123456789
nic-hdl:      TP2-DB-TEST
changed:      dbtest@ripe.net 20030101
source:       DB-TEST
