summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/backtrace.tcl
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-08-11 17:08:47 -0500
committerDavid Smith <dsmith@redhat.com>2009-08-11 17:08:47 -0500
commit57db697397af3911c40682dc91a2b13e3943e478 (patch)
treecf221ed7b13c50288a39139ccb0ca490849ca431 /testsuite/systemtap.context/backtrace.tcl
parent121d0bf7a7dc0d8cd48dfc94724c1f108c85f01e (diff)
downloadsystemtap-steved-57db697397af3911c40682dc91a2b13e3943e478.tar.gz
systemtap-steved-57db697397af3911c40682dc91a2b13e3943e478.tar.xz
systemtap-steved-57db697397af3911c40682dc91a2b13e3943e478.zip
Improved context.exp error handling.
* testsuite/systemtap.context/context.exp: Makes sure errors are output to the log file. Also, a Makefile is copied with 'cp -p' to avoid make erroring out if the Makefile's date is in the future (as can be the case if running the test over nfs). * testsuite/systemtap.context/args.tcl: Makes sure 'close' errors are ignored. * testsuite/systemtap.context/backtrace.tcl: Ditto.
Diffstat (limited to 'testsuite/systemtap.context/backtrace.tcl')
-rw-r--r--testsuite/systemtap.context/backtrace.tcl4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/systemtap.context/backtrace.tcl b/testsuite/systemtap.context/backtrace.tcl
index d401d89f..5e7b1536 100644
--- a/testsuite/systemtap.context/backtrace.tcl
+++ b/testsuite/systemtap.context/backtrace.tcl
@@ -163,7 +163,5 @@ if {$m6 == 5} {
fail "print_stack of yyy_func4 ($m6)"
}
-
-
-close
+catch { close }
wait