Skip to content

Commit

Permalink
test: keystore: test that we can override a secret
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Jun 9, 2016
1 parent 0ad565d commit c23b610
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/modules/keystore/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ test_module(const char *psz_module, bool b_test_all, bool b_persistent,
KS_FIND();
assert(i_entries == 1);

printf("testing that we can override the secret of a previous entry\n");
psz_secret = "libvlc test secret NEW";
KS_STORE();
KS_FIND();
assert(i_entries == 1);

printf("testing adding an other entry\n");
VALUES_INSERT(KEY_USER, "user2");
KS_FIND();
Expand Down

0 comments on commit c23b610

Please sign in to comment.