1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00
Files
samba-mirror/source/python/examples/tdbpack/tdbtimetrial.py
Jelmer Vernooij 1d3f35941b r22584: Don't hardcode specific Python version.
Patch by the Samba packaging team for Debian.
2007-10-10 12:19:47 -05:00

13 lines
297 B
Python
Executable File

#! /usr/bin/python
def run_trial():
# import tdbutil
from samba.tdbpack import pack
for i in xrange(500000):
pack("ddffd", (10, 2, "mbp", "martin", 0))
#s = "\n\0\0\0" + "\x02\0\0\0" + "mbp\0" + "martin\0" + "\0\0\0\0"
if __name__ == '__main__':
run_trial()