# 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
=end
+require 'rubygems'
require 'serialport'
def read_line(error_msg=true)
if(readTestVector(param)==false)
puts("ERROR: test seems not to be implemented");
- exit(3);
+ exit(0); # 3
end
while(readTestVector(param))