Add missing parameter to call init_token.sh script.

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

diff --git a/testcases/ock_tests.sh.in b/testcases/ock_tests.sh.in
index 78cf640..f830f25 100755
--- a/testcases/ock_tests.sh.in
+++ b/testcases/ock_tests.sh.in
@@ -121,7 +121,7 @@ init_slot()
                         ;;
                 CCA | ICA | Software)
                         echo "Initializing $TOKTYPE using init_token.sh"
-                        if ! $TESTDIR/init_token.sh; then
+                        if ! $TESTDIR/init_token.sh $1; then
                                 echo "Error initializing $TOKTYPE token"
                                 exit 1
                         fi
-- 
1.7.2.1


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to