[Spice-devel] [PATCH libcacard v2 31/35] tests: More ideas to test

Jakub Jelen jjelen at redhat.com
Thu Aug 2 09:44:03 UTC 2018


  * The ATR code paths are not covered
  * The card resets code paths are not covered

Signed-off-by: Jakub Jelen <jjelen at redhat.com>
Reviewed-by: Robert Relyea <rrelyea at redhat.com>
---
 tests/libcacard.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/libcacard.c b/tests/libcacard.c
index 6bb3be7..18b84e5 100644
--- a/tests/libcacard.c
+++ b/tests/libcacard.c
@@ -1111,6 +1111,7 @@ int main(int argc, char *argv[])
     g_test_add_func("/libcacard/invalid-acr", test_invalid_acr);
     /* Even without the card, the passthrough applets are present */
     g_test_add_func("/libcacard/passthrough-applet", test_passthrough_applet);
+    /* TODO: Card/reader resets + ATR tests */
     g_test_add_func("/libcacard/remove", test_remove);
 
     ret = g_test_run();
-- 
2.17.1



More information about the Spice-devel mailing list