TEMP: Rollup of lots of changes so they don't get lost
[Samba/vfs_proxy.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");