From b313f94ed30b4342eb02def7d8e895f5d2af8008 Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 20 Aug 2009 08:41:03 -0500 Subject: [PATCH] Two minor testcase fixes. * testsuite/systemtap.base/poll_map.exp: Improved error handling. * testsuite/systemtap.base/postgres.exp: Fixed typo. --- testsuite/systemtap.base/poll_map.exp | 2 +- testsuite/systemtap.base/postgres.exp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/systemtap.base/poll_map.exp b/testsuite/systemtap.base/poll_map.exp index 5ade48e6c..85687b60a 100644 --- a/testsuite/systemtap.base/poll_map.exp +++ b/testsuite/systemtap.base/poll_map.exp @@ -9,6 +9,6 @@ expect { timeout { fail "$test (timeout)" } eof { } } -close +catch { close } wait if {$ok == 1} { pass "$test ($ok)" } { fail "$test ($ok)" } diff --git a/testsuite/systemtap.base/postgres.exp b/testsuite/systemtap.base/postgres.exp index 611de2c22..0c53d86b3 100644 --- a/testsuite/systemtap.base/postgres.exp +++ b/testsuite/systemtap.base/postgres.exp @@ -131,6 +131,6 @@ expect { eof { } } -Catch {exec rm -rf /tmp/stap-postgres} +catch {exec rm -rf /tmp/stap-postgres} catch {exec rm /tmp/stap-postgres.stp /tmp/stap-postgres.log \ /tmp/stap-postgres-markers.log /tmp/stap-postgres.sh} -- 2.43.5