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/args.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.context/args.tcl') diff --git a/testsuite/systemtap.context/args.tcl b/testsuite/systemtap.context/args.tcl index cffaeaef..fb8aecb4 100644 --- a/testsuite/systemtap.context/args.tcl +++ b/testsuite/systemtap.context/args.tcl @@ -54,5 +54,5 @@ expect { eof {fail "function arguments: unexpected timeout"} } exec kill -INT -[exp_pid] -close +catch { close } wait -- cgit