import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunk
[metze/old/v3-2-winbind-ndr.git] / source / python / examples / tdbpack / tdbtimetrial.py
1 #! /usr/bin/python2.2
2
3 def run_trial():
4     # import tdbutil
5     from samba.tdbpack import pack
6     
7     for i in xrange(500000):
8         pack("ddffd", (10, 2, "mbp", "martin", 0))
9         #s = "\n\0\0\0" + "\x02\0\0\0" + "mbp\0" + "martin\0" + "\0\0\0\0"
10
11 if __name__ == '__main__':
12     run_trial()