summaryrefslogtreecommitdiff
path: root/src/3rdparty/v8/test/mjsunit/d8-os.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/v8/test/mjsunit/d8-os.js')
-rw-r--r--src/3rdparty/v8/test/mjsunit/d8-os.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/v8/test/mjsunit/d8-os.js b/src/3rdparty/v8/test/mjsunit/d8-os.js
index 239938c..f6b9839 100644
--- a/src/3rdparty/v8/test/mjsunit/d8-os.js
+++ b/src/3rdparty/v8/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);
}