Index: test/mjsunit/d8-os.js |
diff --git a/test/mjsunit/d8-os.js b/test/mjsunit/d8-os.js |
index 239938cd169d73d3fb847cb7e30d0b767f4a2c9c..f6b98396e58f442812026678ac28a102592c4327 100644 |
--- a/test/mjsunit/d8-os.js |
+++ b/test/mjsunit/d8-os.js |
@@ -129,13 +129,13 @@ if (this.os && os.system) { |
have_echo = false; |
} |
if (have_sleep) { |
- assertThrows("os.system('sleep', ['2000'], 200);", "sleep 1"); |
+ assertThrows("os.system('sleep', ['2000'], 20);", "sleep 1"); |
// Check we time out with total time. |
- assertThrows("os.system('sleep', ['2000'], -1, 200);", "sleep 2"); |
+ assertThrows("os.system('sleep', ['2000'], -1, 20);", "sleep 2"); |
// Check that -1 means no timeout. |
- os.system('sleep', ['1'], -1, -1); |
+ os.system('sleep', ['0.1'], -1, -1); |
} |