Make pkcsconf errors non-fatal when querying the token type,
    so that the testsuite can continue with the other tokens

Signed-off-by: Klaus Heinrich Kiwi <[email protected]>
---
 testcases/ock_tests.sh.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/ock_tests.sh.in b/testcases/ock_tests.sh.in
index 3f04560..19505a0 100755
--- a/testcases/ock_tests.sh.in
+++ b/testcases/ock_tests.sh.in
@@ -166,9 +166,9 @@ check_slot()
                         TOKTYPE="Software"
                         ;;
                 *)
-                        echo "FATAL: unsupported or undetermined token type"
+                        echo "Error: unsupported or undetermined token type"
                         echo "       wrong Slot?"
-                        exit 1
+                        return 1
         esac
 }
 
-- 
1.7.2.2


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to