From 6904f14b89377d0671ca80a6c577f39f45863299 Mon Sep 17 00:00:00 2001 From: Chia-chi Yeh Date: Sun, 26 Jun 2011 21:39:25 -0700 Subject: [PATCH] KeyStore: fix test-keystore Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c --- cmds/keystore/test-keystore | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmds/keystore/test-keystore b/cmds/keystore/test-keystore index 82b276fe7..3be51b3e7 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"