Add a panic action that tries to call gdb noninteractively to get a
authorMartin Pool <mbp@samba.org>
Mon, 10 Dec 2001 08:10:05 +0000 (08:10 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 10 Dec 2001 08:10:05 +0000 (08:10 +0000)
backtrace.   Will break on many machines, but we're already crashed in
this case.
(This used to be commit f0878f19eb729d70cc96f450b4b0d2c180498a35)

testsuite/build_farm/basicsmb.smb.conf.template

index b001ed63e2724926648bb98c40f32354a91f7d57..ff837bbb09897a9f6fdaf668f69cf6a42077df87 100644 (file)
@@ -15,6 +15,8 @@
 
     add machine script = useradd %u -d /dev/null -s /bin/false
 
+    panic action = echo bt | gdb PREFIX/sbin/smbd %d
+
 [test]
     path = PREFIX/testdir
     read only = no