Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6904f14b authored by Chia-chi Yeh's avatar Chia-chi Yeh
Browse files

KeyStore: fix test-keystore

Change-Id: I1dcbd5c3cc7569c397d2480cda76288a9e28cd5c
parent 91a465b7
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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"
    expect "1 No error"
    expect "quux"

    log "however, root can read system user keys (as can wifi or vpn users)"
    log "root can read system user keys (as can wifi or vpn users)"
    keystore root g baz
    expect "1 No error"
    expect "quux"