]> git.sur5r.net Git - bacula/bacula/commitdiff
Add TestName to gdb traceback
authorKern Sibbald <kern@sibbald.com>
Fri, 18 Jun 2010 11:50:28 +0000 (13:50 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:54 +0000 (16:53 +0200)
bacula/scripts/btraceback.gdb
regress/scripts/functions

index b536e42be59e09028c2b8475ba029e22b60af962..ec82a9fedf21c4b074f404b5e764b1ac0b7ea4ab 100644 (file)
@@ -27,5 +27,6 @@ f 6
 info locals
 f 7
 info locals
+show env TestName
 detach
 quit
index 18ae03c4a195a82d18e462f89d7fc2f15b8ecac3..de33c0a89be4c1f36de79fb4c2fe329b80bfcbf1 100644 (file)
@@ -26,6 +26,7 @@ start_test()
    echo " === Starting $TestName at `date +%R:%S` ==="
    echo " === Starting $TestName at `date +%R:%S` ===" >> ${working}/log
    echo " "
+   export TestName
    export zstat
    export estat
    estat=0