summaryrefslogtreecommitdiff
path: root/source4/python/examples/tdbpack/tdbtimetrial.py
blob: be6404899d82348e3713e637fbcc84911fe7579b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/python2.2

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()