From 86971ff3b930a93de55aae00fe66f3d1d10dbcb4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 30 Mar 2006 04:39:37 +0000 Subject: r14798: Get swig building again (by commenting out dcerpc stuff for now). Add the start of a test framework for swigged functionality. (This used to be commit 3dfd0959f78518c021417f3f1158c51d70a1e88c) --- source4/scripting/swig/torture/torture_tdb.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 source4/scripting/swig/torture/torture_tdb.py (limited to 'source4/scripting/swig/torture') diff --git a/source4/scripting/swig/torture/torture_tdb.py b/source4/scripting/swig/torture/torture_tdb.py new file mode 100755 index 0000000000..4c44096811 --- /dev/null +++ b/source4/scripting/swig/torture/torture_tdb.py @@ -0,0 +1,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') + -- cgit