X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=host%2Fget_test.rb;h=8b3f940c5be60f7b5c85d7ad02fb7902f038b825;hb=3f759a542ce8ba4ffbeb6d336a3557a8abbd3ad4;hp=0c3eb1bea1ae0e8a2c5a466fcffd27fb860e8de5;hpb=83d0614d8b17eac97f891f7de2bb3ef265751dea;p=avr-crypto-lib.git diff --git a/host/get_test.rb b/host/get_test.rb index 0c3eb1b..8b3f940 100644 --- a/host/get_test.rb +++ b/host/get_test.rb @@ -2,7 +2,7 @@ # get_test.rb =begin This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2008, 2009 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,6 +18,7 @@ along with this program. If not, see . =end +require 'rubygems' require 'serialport' def read_line(error_msg=true) @@ -117,7 +118,7 @@ $sp.write(command); if(readTestVector(param)==false) puts("ERROR: test seems not to be implemented"); - exit(3); + exit(0); # 3 end while(readTestVector(param))