KeyStore: fix test-keystore

Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c
This commit is contained in:
Chia-chi Yeh 2011-06-26 21:39:25 -07:00
parent 91a465b73a
commit 6904f14b89

View File

@ -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"