script0011.003   [plain text]


//
// script0011.003 [alpha blocker]
//
// Test all 5 attributes added in script0011 can be retrieved
// 
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
     KeychainFile : test0011.001
   Results : 2
     OSStatus 0
     KeychainIndex : 0
8 KCUnlock
   Input Arguments : 2
     KeychainIndex : 0
     Password : Apple
   Results : 1
     OSStatus 0
13 KCSetDefaultKeychain
   Input Arguments : 1
     KeychainIndex : 0
   Results : 1
     OSStatus 0
48 KCFindFirstItem
   Input Arguments : 2
     KeychainIndex : 0
     AttributeList : 
     .count : 1
     .0 :
     .tag : labl
     .data : /15/Label Attribute
   Results : 3
     OSStatus 0
     SearchIndex : 0
     ItemIndex : 0
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : desc
     .data : /25/0000000000000000000000000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : desc
     .data : /25/Description Attribute0000
     ActualLength : 21
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : icmt
     .data : /17/00000000000000000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : icmt
     .data : /17/Comment Attribute
     ActualLength : 17
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : labl
     .data : /15/000000000000000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : labl
     .data : /15/Label Attribute
     ActualLength : 15
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : crtr
     .data : /5/00000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : crtr
     .data : /4/meme
     ActualLength : 4
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : type
     .data : /4/0000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : type
     .data : /4/yuyu
     ActualLength : 4
37 KCGetAttribute
   Input Arguments : 2
     ItemIndex : 0
     Attribute : 
     .tag : clas
     .data : /4/0000
   Results : 3
     OSStatus 0
     Attribute : 
     .tag : clas
     .data : /4/inet
     ActualLength : 4
46 KCReleaseItem
   Input Arguments : 1
     ItemIndex : 0
   Results : 1
     OSStatus 0
50 KCReleaseSearch
   Input Arguments : 1
     SearchIndex : 0
   Results : 1
     OSStatus 0
6 KCReleaseKeychain
   Input Arguments : 2
      KeychainIndex : 0
   Results : 1
      OSStatus 0