Changeset 265
- Timestamp:
- 06/19/11 21:39:57 (14 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
SConstruct
r245 r265 9 9 libtalloc_path='.export/win32/libtalloc/' 10 10 11 source_targets=('src-trunk', 'src-0.99.0' )12 win32_targets=('win32-trunk', 'win32-0.99.0' )11 source_targets=('src-trunk', 'src-0.99.0', 'src-1.0.0') 12 win32_targets=('win32-trunk', 'win32-0.99.0', 'win32-1.0.0') 13 13 all_targets = source_targets+win32_targets 14 14 -
test/pyregfi-smoketest.py
r262 r265 65 65 path = getCurrentPath(k) 66 66 try: 67 print(repr(path))68 67 hive_iter = hive.subtree(path) 69 68 if hive_iter.current_key() != k: … … 201 200 new_fh = io.BytesIO(fh.read()) 202 201 new_hive = pyregfi.Hive(new_fh) 202 stat = 0 203 203 for k in new_hive: 204 pass 204 stat += 1 205 print(" %d keys found" % stat) 205 206 206 207 … … 234 235 def loopSecurity(hive, fh): 235 236 cur = hive.root.fetch_security() 237 first = cur 238 stat = 0 236 239 while True: 237 240 stat += len(cur.descriptor.owner) … … 243 246 244 247 nxt = cur.next_security() 245 if cur== nxt:248 if first == nxt: 246 249 break 247 248 250 cur = nxt 251 print(" Security stat: %d" % stat) 252 253 249 254 def iterSecurity(hive, fh): 250 255 stat = 0
Note: See TracChangeset
for help on using the changeset viewer.