vlc | branch: master | Thomas Guillem <[email protected]> | Thu Jun  9 19:06:20 
2016 +0200| [c23b610d33825be1bdc2949d7e1780c4b6831f54] | committer: Thomas 
Guillem

test: keystore: test that we can override a secret

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c23b610d33825be1bdc2949d7e1780c4b6831f54
---

 test/modules/keystore/test.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/modules/keystore/test.c b/test/modules/keystore/test.c
index d7ce428..956c014 100644
--- a/test/modules/keystore/test.c
+++ b/test/modules/keystore/test.c
@@ -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();

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to