diff options
author | David Smith <dsmith@redhat.com> | 2009-08-20 08:41:03 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-08-20 08:41:03 -0500 |
commit | b313f94ed30b4342eb02def7d8e895f5d2af8008 (patch) | |
tree | 1221492e9661f8b152ebc8008dde2b218db44a8b | |
parent | f7449b56b848309a391a70806fa320f6e701f054 (diff) | |
download | systemtap-steved-b313f94ed30b4342eb02def7d8e895f5d2af8008.tar.gz systemtap-steved-b313f94ed30b4342eb02def7d8e895f5d2af8008.tar.xz systemtap-steved-b313f94ed30b4342eb02def7d8e895f5d2af8008.zip |
Two minor testcase fixes.
* testsuite/systemtap.base/poll_map.exp: Improved error handling.
* testsuite/systemtap.base/postgres.exp: Fixed typo.
-rw-r--r-- | testsuite/systemtap.base/poll_map.exp | 2 | ||||
-rw-r--r-- | 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 5ade48e6..85687b60 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 611de2c2..0c53d86b 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} |