about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ktest-tool/ktest-tool4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ktest-tool/ktest-tool b/tools/ktest-tool/ktest-tool
index e06a9faf..a7a3abf1 100755
--- a/tools/ktest-tool/ktest-tool
+++ b/tools/ktest-tool/ktest-tool
@@ -4,7 +4,7 @@ import os
 import struct
 import sys
 
-version_no=2
+version_no=3
 
 class KTestError(Exception):
     pass
@@ -18,7 +18,7 @@ class KTest:
             
         f = open(path,'rb')
         hdr = f.read(5)
-        if len(hdr)!=5 or hdr!='BOUT\n':
+        if len(hdr)!=5 or (hdr!='KTEST' and hdr != "BOUT\n"):
             raise KTestError,'unrecognized file'
         version, = struct.unpack('>i', f.read(4))
         if version > version_no: