diff options
author | bubulle <bubulle@alioth.debian.org> | 2009-07-05 21:08:28 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2009-07-05 21:08:28 +0000 |
commit | e2df0615c76f228e5479482a880a01d64ef47a06 (patch) | |
tree | cf161609a937840fa6b42eac3d4c0db7ff534d34 /selftest/test_samba4.pl | |
parent | 130ad4cd047d74be152bdcf6ff6743b7978b99de (diff) | |
download | samba-e2df0615c76f228e5479482a880a01d64ef47a06.tar.gz |
Load samba-3.4.0 into branches/samba/upstream.upstream/3.4.0
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@2934 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'selftest/test_samba4.pl')
-rwxr-xr-x | selftest/test_samba4.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/selftest/test_samba4.pl b/selftest/test_samba4.pl new file mode 100755 index 0000000000..f2935be66b --- /dev/null +++ b/selftest/test_samba4.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use Test::More tests => 3; +use FindBin qw($RealBin); +use lib $RealBin; +use Samba4; + +my $s = new Samba4($RealBin."/../bin", undef, $RealBin."/../setup"); + +ok($s); + +is($RealBin."/../bin", $s->{bindir}); + +ok($s->write_ldb_file("tmpldb", " +dn: a=b +a: b +c: d +")); + +unlink("tmpldb"); |