X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0036 diff --git a/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0036 b/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0036 new file mode 100644 index 00000000..e1b79ce0 --- /dev/null +++ b/SecurityTests/testKeychainAPI/testKeychainAPI/scripts/script0036 @@ -0,0 +1,35 @@ +// +// script0036 - designed to run after the default keychain DELETED from disk +// +// KCNewItem +// KCAddItem +// KCGetData +// +// Attempt to add an AppleShare password to the default keychain +// - If there aren't any keychains available, a panel will ask you to create one. +// - If default is deleted, a panel appears asking to select a different +// keychain or create a new one for the item (here you can change the default too). +// +35 KCNewItem + Input Arguments : 4 + Class : ashp + Creator : cind + Data : /8/CindyLou + Results : 2 + OSStatus 0 + ItemIndex : 0 +41 KCAddItem + Input Arguments : 1 + ItemIndex : 0 + Results : 1 + OSStatus 0 +// +## Chose a keychain or create one, then hit 'Select' ## +39 KCGetData + Input Arguments : 2 + ItemIndex : 0 + Data : /8/00000000 + Results : 3 + OSStatus 0 + Data : /8/CindyLou + ActualLength : 5