summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/Expect.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py
index b296e3e9a83..0c90141aebd 100755
--- a/scripts/Expect.py
+++ b/scripts/Expect.py
@@ -552,10 +552,7 @@ class Expect (object):
if self.mapping == "java":
if self.killed is not None:
if win32:
- if self.killed == signal.SIGINT:
- test(self.exitstatus, 1)
- else:
- test(self.exitstatus, self.killed)
+ test(self.exitstatus, -self.killed)
else:
if self.killed == signal.SIGINT:
test(130, self.exitstatus)