summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/arith.exp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-08-19 11:20:59 -0500
committerDavid Smith <dsmith@redhat.com>2009-08-19 11:20:59 -0500
commit834b027898f9597f8a12488044555eba3175b391 (patch)
treeaa9aeab472b4046aef4cb32f19b29a2270e2b9e8 /testsuite/systemtap.base/arith.exp
parentc2e11ee8dc57e53b0ae17c0d72b809e2eca862cd (diff)
downloadsystemtap-steved-834b027898f9597f8a12488044555eba3175b391.tar.gz
systemtap-steved-834b027898f9597f8a12488044555eba3175b391.tar.xz
systemtap-steved-834b027898f9597f8a12488044555eba3175b391.zip
Improved testcase error handling.
* testsuite/systemtap.base/arith.exp: Improved error handling. * testsuite/systemtap.base/cmd_parse.exp: Ditto.
Diffstat (limited to 'testsuite/systemtap.base/arith.exp')
-rw-r--r--testsuite/systemtap.base/arith.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/arith.exp b/testsuite/systemtap.base/arith.exp
index c4f72793..b99badc8 100644
--- a/testsuite/systemtap.base/arith.exp
+++ b/testsuite/systemtap.base/arith.exp
@@ -9,6 +9,6 @@ expect {
timeout { fail "$test (timeout)" }
eof { }
}
-close
+catch { close }
wait
if {$ok == 1} { pass "$test" } { fail "$test" }