selftest: Do not force -d0 for smbd/nmbd/winbindd
authorAndreas Schneider <asn@samba.org>
Wed, 9 Feb 2022 15:33:10 +0000 (16:33 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 10 Feb 2022 21:14:32 +0000 (21:14 +0000)
We have the env variable SERVER_LOG_LEVEL which allows you to change
the log level on the command line. If we force -d0 this will not work.

make test TESTS="samba" SERVER_LOG_LEVEL=10

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/target/Samba3.pm

index 7bb007c959d23d6a669a1f868ff9664701a0410d..ec6cc0396646da57c1b4b26397465bc98f818a1a 100755 (executable)
@@ -2158,7 +2158,7 @@ sub make_bin_cmd
 {
        my ($self, $binary, $env_vars, $options, $valgrind, $dont_log_stdout) = @_;
 
-       my @optargs = ("-d0");
+       my @optargs = ();
        if (defined($options)) {
                @optargs = split(/ /, $options);
        }