summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/args.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/args.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/args.tcl')
-rw-r--r--testsuite/systemtap.context/args.tcl2
1 files changed, 1 insertions, 1 deletions
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