summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/torture/torture_tdb.py
blob: 4c440968111f7cb1fad3a51f71b7144d89125fe2 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python

import sys, tdb
from os import *

t = tdb.open('foo.tdb', 0, 0, O_RDWR | O_CREAT, 0600)
tdb.close(t)

unlink('foo.tdb')