[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Thu Sep 12 00:20:04 CEST 2013

The branch, master has been updated
       via  40db563 selftest: change to src dir for panic backtrace
      from  403ddac dsdb: When using an LDAP backend, force use of the password from secrets.ldb


- Log -----------------------------------------------------------------
commit 40db5637911fa6307187f2ea1f3bce951746fbec
Author: David Disseldorp <ddiss at samba.org>
Date:   Wed Sep 11 17:56:02 2013 +0200

    selftest: change to src dir for panic backtrace
    When running selftest against a Samba3 target, the working directory is
    set to st/s3dc/share. The existing "panic action" script attempts
    obtain a backtrace for a paniced smbd process using GDB, which does not
    locate debug info relative to the working directory.
    This commit changes the S3 selftest panic action to first enter
    the base source directory before attempting to obtain the backtrace,
    ensuring that GDB can locate the debug info.
    Signed-off-by: David Disseldorp <ddiss at samba.org>
    Reviewed-by: Andrew Bartlett <abartlet at samba.org>
    Autobuild-User(master): Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date(master): Thu Sep 12 00:19:39 CEST 2013 on sn-devel-104


Summary of changes:
 selftest/target/Samba3.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 20587bf..0972457 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -928,7 +928,7 @@ sub provision($$$$$$)
 	netbios name = $server
 	interfaces = $server_ip/8
 	bind interfaces only = yes
-	panic action = $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY)
+	panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY)
 	smbd:suicide mode = yes
 	workgroup = $domain

Samba Shared Repository

More information about the samba-cvs mailing list