diff options
Diffstat (limited to 'scripts/Expect.py')
-rwxr-xr-x | scripts/Expect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py index aacaf80258e..a3bf1962724 100755 --- a/scripts/Expect.py +++ b/scripts/Expect.py @@ -655,7 +655,7 @@ class Expect (object): raise RuntimeError("unexpected exit status: expected: %d, got %d\n" % (expected, result)) self.wait(timeout) - if self.mapping == "java": + if self.mapping in ["java", "java-compat"]: if self.killed is not None: if win32: test(self.exitstatus, -self.killed) @@ -674,6 +674,6 @@ class Expect (object): def hasInterruptSupport(self): """Return True if the application gracefully terminated, False otherwise.""" - if win32 and self.mapping == "java": + if win32 and self.mapping in ["java", "java-compat"]: return False return True |