fix
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 19 Dec 2012 02:19:17 +0000 (11:19 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 19 Dec 2012 02:19:17 +0000 (11:19 +0900)
ChangeLog
tool/gnuk_put_binary_libusb.py

index ccc17a0..18c86bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-12-19  Niibe Yutaka  <gniibe@fsij.org>
 
+       * test/gnuk.py: Remove.
+
        * test/features/steps.py: Use tool/gnuk_token.py.
 
        * tool/gnuk_put_binary_libusb.py: Use gnuk_token.py.
index 057a4b9..3899c4c 100755 (executable)
@@ -57,7 +57,7 @@ def main(fileid, is_update, data, passwd):
         for d in data_in_device:
             print "%02x" % ord(d),
         print
-        compare(data, data_in_device[8:])
+        compare(data + '\x00\x00', data_in_device[8:])
     elif fileid >= 1 and fileid <= 4:
         data_in_device = gnuk.cmd_read_binary(fileid)
         compare(data, data_in_device)