The branch, v4-0-test has been updated
       via  95872d7db8c9bb1914ab4c9860fd8b09e6695cc7 (commit)
      from  d9b4a5bb172be74db3c16b50426810f1bdedd00e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 95872d7db8c9bb1914ab4c9860fd8b09e6695cc7
Author: Jelmer Vernooij <[EMAIL PROTECTED]>
Date:   Wed Jan 16 21:30:58 2008 +0100

    selftest: Use "require" rather than "use" keyword so .pm files don't have 
to be provided until used.

-----------------------------------------------------------------------

Summary of changes:
 source/selftest/selftest.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/selftest/selftest.pl b/source/selftest/selftest.pl
index 46c3846..004332a 100755
--- a/source/selftest/selftest.pl
+++ b/source/selftest/selftest.pl
@@ -426,20 +426,20 @@ my $testenv_default = "none";
 
 if ($opt_target eq "samba4") {
        $testenv_default = "member";
-       use target::Samba4;
+       require target::Samba4;
        $target = new Samba4($opt_bindir or "$srcdir/bin", $ldap, 
"$srcdir/setup");
 } elsif ($opt_target eq "samba3") {
        if ($opt_socket_wrapper and `$opt_bindir/smbd -b | grep SOCKET_WRAPPER` 
eq "") {
                die("You must include --enable-socket-wrapper when compiling 
Samba in order to execute 'make test'.  Exiting....");
        }
        $testenv_default = "dc";
-       use target::Samba3;
+       require target::Samba3;
        $target = new Samba3($opt_bindir);
 } elsif ($opt_target eq "win") {
        die("Windows tests will not run with socket wrapper enabled.") 
                if ($opt_socket_wrapper);
        $testenv_default = "dc";
-       use target::Windows;
+       require target::Windows;
        $target = new Windows();
 }
 


-- 
Samba Shared Repository

Reply via email to