]> sourceware.org Git - systemtap.git/commitdiff
Two minor testcase fixes.
authorDavid Smith <dsmith@redhat.com>
Thu, 20 Aug 2009 13:41:03 +0000 (08:41 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 20 Aug 2009 13:41:03 +0000 (08:41 -0500)
* testsuite/systemtap.base/poll_map.exp: Improved error handling.
* testsuite/systemtap.base/postgres.exp: Fixed typo.

testsuite/systemtap.base/poll_map.exp
testsuite/systemtap.base/postgres.exp

index 5ade48e6c2deb333984b9a5977e9b09a905569d1..85687b60a9b4d5cdac1f147172631249f307c1d1 100644 (file)
@@ -9,6 +9,6 @@ expect {
     timeout { fail "$test (timeout)" }
     eof { }
 }
-close
+catch { close }
 wait
 if {$ok == 1} { pass "$test ($ok)" } { fail "$test ($ok)" }
index 611de2c224afc6915c92c6c4aee61bb4e0aa3f03..0c53d86b3c638c2b836eba74b71fb7ce86480465 100644 (file)
@@ -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}
This page took 0.02899 seconds and 5 git commands to generate.