1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00
Files
samba-mirror/source/scripting/swig/torture/torture_tdb.py
Tim Potter 3dfd0959f7 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00

11 lines
140 B
Python
Executable File

#!/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')