From bd79ab507f30c4c10c555520ac4fc381d1920d6a Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 30 Nov 2012 17:07:05 +0100 Subject: Fixed ICE-5065 - Fixed another exit status problem --- scripts/Expect.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/Expect.py') 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) -- cgit v1.2.3