Changeset 265


Ignore:
Timestamp:
06/19/11 21:39:57 (14 years ago)
Author:
tim
Message:

fixes for smoketest script
added 1.0 targets for release

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SConstruct

    r245 r265  
    99libtalloc_path='.export/win32/libtalloc/'
    1010
    11 source_targets=('src-trunk', 'src-0.99.0')
    12 win32_targets=('win32-trunk', 'win32-0.99.0')
     11source_targets=('src-trunk', 'src-0.99.0', 'src-1.0.0')
     12win32_targets=('win32-trunk', 'win32-0.99.0', 'win32-1.0.0')
    1313all_targets = source_targets+win32_targets
    1414
  • test/pyregfi-smoketest.py

    r262 r265  
    6565        path = getCurrentPath(k)
    6666        try:
    67             print(repr(path))
    6867            hive_iter = hive.subtree(path)
    6968            if hive_iter.current_key() != k:
     
    201200    new_fh = io.BytesIO(fh.read())
    202201    new_hive = pyregfi.Hive(new_fh)
     202    stat = 0
    203203    for k in new_hive:
    204         pass
     204        stat += 1
     205    print("  %d keys found" % stat)
    205206
    206207
     
    234235def loopSecurity(hive, fh):
    235236    cur = hive.root.fetch_security()
     237    first = cur
     238    stat = 0
    236239    while True:
    237240        stat += len(cur.descriptor.owner)
     
    243246       
    244247        nxt = cur.next_security()
    245         if cur == nxt:
     248        if first == nxt:
    246249            break
    247 
    248    
     250        cur = nxt
     251    print("  Security stat: %d" % stat)
     252
     253
    249254def iterSecurity(hive, fh):
    250255    stat = 0
Note: See TracChangeset for help on using the changeset viewer.