[Pcsclite-cvs-commit] r6208 - /trunk/HandlerTest/Host/handler_test.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Jan 31 13:37:23 UTC 2012
Author: rousseau
Date: Tue Jan 31 13:37:23 2012
New Revision: 6208
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6208
Log:
returns with != 0 in case of error
handler_test() now returns with a non-null value if an error is
detected. main() will then also return with a non-null value.
Modified:
trunk/HandlerTest/Host/handler_test.c
Modified: trunk/HandlerTest/Host/handler_test.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/handler_test.c?rev=6208&op=diff
==============================================================================
--- trunk/HandlerTest/Host/handler_test.c (original)
+++ trunk/HandlerTest/Host/handler_test.c Tue Jan 31 13:37:23 2012
@@ -395,7 +395,7 @@
else
printf(BLUE "***********\n* OK *\n***********" NORMAL);
- return 0;
+ return test_rv;
} /* handler_test */
int extended_apdu(int lun)
@@ -939,7 +939,7 @@
case IFD_ICC_NOT_PRESENT:
strcpy(strError, "IFD: card _NOT_ present");
break;
-
+
case IFD_COMMUNICATION_ERROR:
strcpy(strError, "IFD: communication error");
break;
More information about the Pcsclite-cvs-commit
mailing list