selftest: Remove %PROG% argument from 'panic action'
authorAndrew Bartlett <abartlet@samba.org>
Fri, 24 Jun 2011 03:04:27 +0000 (13:04 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 Jun 2011 03:08:04 +0000 (13:08 +1000)
The debugger or script will need to work out the binary from the PID,
as %PROG% support was lost when the setup_fault() code was merged
between Samba3 and Samba4.

Andrew Bartlett

selftest/selftest.pl
selftest/target/Samba4.pm

index 23434fc86ce3b9c0de8248ce136d032beed63b69..af45c718de1b32f528cf48426837448b1fcc6de1 100755 (executable)
@@ -629,7 +629,7 @@ sub write_clientconf($$$)
        lock dir = $clientdir/lockdir
        ncalrpc dir = $clientdir/ncalrpcdir
        name resolve order = file bcast
-       panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\%
+       panic action = $RealBin/gdb_backtrace \%PID\%
        max xmit = 32K
        notify:inotify = false
        ldb:nosync = true
index 49bab371fc9f58ea8a42dddbf644b190db0677fb..b76fd98abd6407807dd2374969e013b138e76a36 100644 (file)
@@ -598,7 +598,7 @@ sub provision_raw_step1($$)
        name resolve order = file bcast
        interfaces = $ctx->{interfaces}
        tls dh params file = $ctx->{tlsdir}/dhparms.pem
-       panic action = $RealBin/gdb_backtrace \%PID% \%PROG%
+       panic action = $RealBin/gdb_backtrace \%PID%
        wins support = yes
        server role = $ctx->{server_role}
        server services = +echo