1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/selftest/test_samba4.pl
Stefan Metzmacher 1e84e4026e r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet

metze
(This used to be commit e9fe3c40e1)
2007-10-10 14:51:46 -05:00

21 lines
295 B
Perl
Executable File

#!/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");