This commit is contained in:
NIIBE Yutaka
2012-12-19 11:19:17 +09:00
parent 40e234b799
commit 1a2560531d
2 changed files with 3 additions and 1 deletions

View File

@@ -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.

View File

@@ -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)