summaryrefslogtreecommitdiffstats
path: root/etc/TestCommon.py
diff options
context:
space:
mode:
Diffstat (limited to 'etc/TestCommon.py')
-rw-r--r--etc/TestCommon.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/TestCommon.py b/etc/TestCommon.py
index ae57f0c..af3c8a8 100644
--- a/etc/TestCommon.py
+++ b/etc/TestCommon.py
@@ -80,8 +80,8 @@ The TestCommon module also provides the following variables
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
__author__ = "Steven Knight <knight at baldmt dot com>"
-__revision__ = "TestCommon.py 0.13.D001 2004/11/20 08:30:40 knight"
-__version__ = "0.13"
+__revision__ = "TestCommon.py 0.14.D001 2005/08/15 23:02:35 knight"
+__version__ = "0.14"
import os
import os.path
@@ -262,6 +262,8 @@ class TestCommon(TestCmd):
file_contents = self.read(file, mode)
try:
self.fail_test(not self.match(file_contents, expect))
+ except KeyboardInterrupt:
+ raise
except:
print "Unexpected contents of `%s'" % file
print "EXPECTED contents ======"
@@ -338,6 +340,8 @@ class TestCommon(TestCmd):
match = self.match
try:
apply(TestCmd.run, [self], kw)
+ except KeyboardInterrupt:
+ raise
except:
print "STDOUT ============"
print self.stdout()