s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing...
[Samba.git] / selftest / test_samba4.pl
blobf2935be66bcd85d349cdcdb218cba54d0a173b74
1 #!/usr/bin/perl
3 use Test::More tests => 3;
4 use FindBin qw($RealBin);
5 use lib $RealBin;
6 use Samba4;
8 my $s = new Samba4($RealBin."/../bin", undef, $RealBin."/../setup");
10 ok($s);
12 is($RealBin."/../bin", $s->{bindir});
14 ok($s->write_ldb_file("tmpldb", "
15 dn: a=b
16 a: b
17 c: d
18 "));
20 unlink("tmpldb");