diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 14:27:08 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 14:27:08 +0200 |
commit | e09c0c1185b4a4ad1d28023549074875028f3e55 (patch) | |
tree | 158cd066a2dd19169748a6d94fc990953d49b6c9 /selftest/test_samba4.pl | |
parent | 33032d591f8e39edae0ce4b35ca1b6e25f04a04b (diff) | |
parent | 085e7b0b6cc882b31c11b6d6ea7834235588e1ed (diff) | |
download | samba-e09c0c1185b4a4ad1d28023549074875028f3e55.tar.gz samba-e09c0c1185b4a4ad1d28023549074875028f3e55.tar.bz2 samba-e09c0c1185b4a4ad1d28023549074875028f3e55.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt
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"); |