Ignore:
Timestamp:
11/01/08 10:29:10 (12 years ago)
Author:
pjkersha
Message:

Fixes to unit tests ready for OMII-UK first software drop.

security/python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
security/python/ndg.security.server/ndg/security/server/conf/sessionMgrProperties.xml: include comment about addition of CA certs from other trusted NDG sites.

security/python/ndg.security.test/ndg/security/test/attCert/attCertTest.cfg: fix file paths - ref by $NDGSEC_ATTCERT_UNITTEST_DIR env var

security/python/ndg.security.test/ndg/security/test/attCert/AttCertTest.py: some file paths not having $NDGSEC_ATTCERT_UNITTEST_DIR expanded correctly

security/python/ndg.security.test/ndg/security/test/sessionMgr/README,
security/python/ndg.security.test/ndg/security/test/sessionMgrClient/README: fix instructions for including CA cert from MyProxy? CA.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py:

  • fix for some file paths - env var not expanded
  • fix test1Connect writing of user.creds - ensure new lines between concatenated certs. and private key content

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml: add instructions for adding MyProxy? CA cert into caCertFileList elem.

security/python/ndg.security.test/ndg/security/test/XMLSecDoc/README: missed out before

security/python/ndg.security.test/setup.py: fixes for missing package data for various tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attCert/attCertTest.cfg

    r3175 r3199  
    1010 
    1111[test9Sign] 
    12 certFile: ./test.crt 
    13 keyFile: ./test.key 
    14 filePath: ./ac-signed.xml 
     12certFile: $NDGSEC_ATTCERT_UNITTEST_DIR/test.crt 
     13keyFile: $NDGSEC_ATTCERT_UNITTEST_DIR/test.key 
     14filePath: $NDGSEC_ATTCERT_UNITTEST_DIR/ac-signed.xml 
    1515keyPwd: 
    1616 
    1717[test10Write] 
    18 filePath: ./ac.xml 
     18filePath: $NDGSEC_ATTCERT_UNITTEST_DIR/ac.xml 
    1919 
    2020[test11Read] 
    21 filePath: ./ac.xml 
     21filePath: $NDGSEC_ATTCERT_UNITTEST_DIR/ac.xml 
    2222 
    2323[test12IsValid] 
    24 certFilePathList: ./ndg-test-ca.crt 
     24certFilePathList: $NDGSEC_ATTCERT_UNITTEST_DIR/ndg-test-ca.crt 
    2525 
    2626[test13IsValidStressTest] 
    2727# First cert is added to the signature, both certs are used in the  
    2828# verification 
    29 certFilepathlist: ./test.crt ./ndg-test-ca.crt 
    30 keyFile: ./test.key 
     29certFilepathlist: $NDGSEC_ATTCERT_UNITTEST_DIR/test.crt $NDGSEC_ATTCERT_UNITTEST_DIR/ndg-test-ca.crt 
     30keyFile: $NDGSEC_ATTCERT_UNITTEST_DIR/test.key 
    3131keyPwd: 
    3232nruns: 10 
    3333 
    3434[test14IsValidSignature] 
    35 certFilePathList: ./ndg-test-ca.crt 
    36 filePath: ./ac.xml 
     35certFilePathList: $NDGSEC_ATTCERT_UNITTEST_DIR/ndg-test-ca.crt 
     36filePath: $NDGSEC_ATTCERT_UNITTEST_DIR/ac.xml 
    3737 
    3838 
Note: See TracChangeset for help on using the changeset viewer.