# credentials tests

# CASE 1: Valid file specified with -f option
#         mail message
#         Simple object, no maintainer
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#FAILURE
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 2: Valid file specified with -f option
#         mail message
#         Simple object, with maintainer, no pwd supplied
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#FAILURE
#
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 3: Valid file specified with -f option
#         mail message
#         Simple object, with maintainer, supplied password
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 4: Valid file specified with -f option
#         mail message
#         Simple object, maintainer, pgp auth
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 5: Valid file specified with -f option
#         mail message
#         Simple object, maintainer, pgp auth fails (bad sig)
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#FAILURE
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 6: Valid file specified with -f option
#         mail message
#         Simple object, maintainer, pgp auth fails (bad sig), out sig
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 7: Valid file specified with -f option
#         mail message
#         Object, password outside of the scope of the object
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#FAILURE
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 8: Valid file specified with -f option
#         mail message
#         Simple object, maintainer, MIME/PGP signed
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 9: Valid file specified with -f option
#         mail message
#         Simple object, maintainer, MIME/PGP fails (bad sig)
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#FAILURE
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 10: Valid file specified with -f option
#         mail message
#       Simple object, maintainer, MIME/PGP fails (bad sig), but signature is in
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 11: Valid file specified with -f option
#          mail message
#          Simple object, maintainer, pgp auth, strange end
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 12: Valid file specified with -f option
#          mail message
#          Simple object, maintainer, pgp auth
%
#
# input from specified file
# ./dbupdate -c ~/db/conf/rip.config -r -k help -f test
#
#SUCCESS
%
%
$ -c $RIP_CONFIG -mr -f 


# CASE 13: We try to create 20.13.0.0/16 route object. 
#          parent route exists with mnt-by, mnt-lower
#          pgp signed for parent mnt-lower and then
#          pgp signed for child mnt-by and origin
#
# create route object 
#
#SUCCESS
#
# RESULT 13: The creation will succeed


