1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

Merge branch 'master' of ssh://git.samba.org/data/git/samba into strhex

This commit is contained in:
Jelmer Vernooij 2008-10-19 10:45:25 +02:00
commit 2c8cf0b394
22 changed files with 12 additions and 14 deletions

View File

@ -405,8 +405,8 @@ if (defined($ENV{RUN_FROM_BUILD_FARM}) and
my $tls_enabled = not $opt_quick;
$ENV{TLS_ENABLED} = ($tls_enabled?"yes":"no");
$ENV{LDB_MODULES_PATH} = "$old_pwd/bin/modules/ldb";
$ENV{LD_SAMBA_MODULE_PATH} = "$old_pwd/bin/modules";
$ENV{LDB_MODULES_PATH} = "$old_pwd/source4/bin/modules/ldb";
$ENV{LD_SAMBA_MODULE_PATH} = "$old_pwd/source4/bin/modules";
sub prefix_pathvar($$)
{
my ($name, $newpath) = @_;
@ -416,8 +416,8 @@ sub prefix_pathvar($$)
$ENV{$name} = $newpath;
}
}
prefix_pathvar("PKG_CONFIG_PATH", "$old_pwd/bin/pkgconfig");
prefix_pathvar("PYTHONPATH", "$old_pwd/bin/python");
prefix_pathvar("PKG_CONFIG_PATH", "$old_pwd/source4/bin/pkgconfig");
prefix_pathvar("PYTHONPATH", "$old_pwd/source4/bin/python");
if ($opt_socket_wrapper_keep_pcap) {
# Socket wrapper keep pcap implies socket wrapper pcap

View File

@ -301,8 +301,8 @@ data.mk: config.status $(MK_FILES)
testcov-html::
include $(pidldir)/config.mk
selftestdir := $(srcdir)/selftest
include $(selftestdir)/config.mk
selftestdir := $(srcdir)/../selftest
include $(srcdir)/selftest/config.mk
showflags::
@echo ' pwd = '`/bin/pwd`

View File

@ -2,12 +2,12 @@ TEST_FORMAT = plain
SELFTEST = $(LD_LIBPATH_OVERRIDE) $(PERL) $(selftestdir)/selftest.pl --prefix=${selftest_prefix} \
--builddir=$(builddir) --srcdir=$(srcdir) \
--expected-failures=$(srcdir)/samba4-knownfail \
--expected-failures=$(srcdir)/selftest/knownfail \
--format=$(TEST_FORMAT) \
--exclude=$(srcdir)/samba4-skip --testlist="./selftest/samba4_tests.sh|" \
--exclude=$(srcdir)/selftest/skip --testlist="./selftest/tests.sh|" \
$(TEST_OPTIONS)
SELFTEST_NOSLOW_OPTS = --exclude=$(srcdir)/samba4-slow
SELFTEST_NOSLOW_OPTS = --exclude=$(srcdir)/selftest/slow
SELFTEST_QUICK_OPTS = $(SELFTEST_NOSLOW_OPTS) --quick
slowtest:: everything

View File

@ -23,8 +23,6 @@ then
PERL=perl
fi
incdir=`dirname $0`
plantest() {
name=$1
env=$2
@ -56,9 +54,9 @@ plansmbtorturetest() {
plantest "$modname" "$env" $cmdline
}
$incdir/../bin/smbtorture -V
bin/smbtorture -V
samba4srcdir=$incdir/..
samba4srcdir=.
samba4bindir=$samba4srcdir/bin
smb4torture="$samba4bindir/smbtorture $TORTURE_OPTIONS"
@ -263,7 +261,7 @@ fi
# the API. These mainly test that the various command-line options of commands
# work correctly.
bbdir=$incdir/../../testprogs/blackbox
bbdir=../testprogs/blackbox
plantest "blackbox.ndrdump" none $samba4srcdir/librpc/tests/test_ndrdump.sh
plantest "blackbox.net" dc $samba4srcdir/utils/tests/test_net.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"