summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2011-06-26 21:39:25 -0700
committerChia-chi Yeh <chiachi@android.com>2011-06-27 10:38:10 -0700
commit6904f14b89377d0671ca80a6c577f39f45863299 (patch)
tree17b2e79c726686563ae61376c7e53818ffc638ee /cmds
parent91a465b73a5bfa55df7ce0e56e35b1b1e018a7ca (diff)
downloadframeworks_native-6904f14b89377d0671ca80a6c577f39f45863299.zip
frameworks_native-6904f14b89377d0671ca80a6c577f39f45863299.tar.gz
frameworks_native-6904f14b89377d0671ca80a6c577f39f45863299.tar.bz2
KeyStore: fix test-keystore
Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c
Diffstat (limited to 'cmds')
-rwxr-xr-xcmds/keystore/test-keystore9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmds/keystore/test-keystore b/cmds/keystore/test-keystore
index 82b276f..3be51b3 100755
--- a/cmds/keystore/test-keystore
+++ b/cmds/keystore/test-keystore
@@ -116,11 +116,12 @@ function test_basic() {
expect "1 No error"
expect "baz"
- log "system does not have access to read any keys"
+ log "get baz"
keystore system g baz
- expect "6 Permission denied"
-
- log "however, root can read system user keys (as can wifi or vpn users)"
+ expect "1 No error"
+ expect "quux"
+
+ log "root can read system user keys (as can wifi or vpn users)"
keystore root g baz
expect "1 No error"
expect "quux"