From 57db697397af3911c40682dc91a2b13e3943e478 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 11 Aug 2009 17:08:47 -0500 Subject: 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. --- testsuite/systemtap.context/backtrace.tcl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/systemtap.context/backtrace.tcl') 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 -- cgit