Searched refs:shell_ctx (Results 1 – 1 of 1) sorted by relevance
686 let shell_ctx = Context::new("u:r:shell:s0")?; in check_keystore_permission_test() localVariable687 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::add_auth())); in check_keystore_permission_test()688 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::clear_ns())); in check_keystore_permission_test()689 assert!(check_keystore_permission(&shell_ctx, KeystorePerm::get_state()).is_ok()); in check_keystore_permission_test()690 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::list())); in check_keystore_permission_test()691 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::lock())); in check_keystore_permission_test()692 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::reset())); in check_keystore_permission_test()693 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::unlock())); in check_keystore_permission_test()694 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::change_user())); in check_keystore_permission_test()695 assert_perm_failed!(check_keystore_permission(&shell_ctx, KeystorePerm::change_password())); in check_keystore_permission_test()[all …]