Added test-force-repl.js, patched to give more time to child process to execute

This commit is contained in:
Jean-Francois 2014-01-09 11:01:10 +01:00
parent 17bcf7317d
commit b96d70c513
3 changed files with 14 additions and 0 deletions

View File

@ -292,6 +292,7 @@
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-dgram-unref.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-domain.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-error-reporting.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-force-repl.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-fs-read-stream.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-fs-readfile-pipe.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http.js"/>
@ -387,6 +388,7 @@
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-dgram-unref.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-domain.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-error-reporting.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-force-repl.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-fs-read-stream.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-fs-readfile-pipe.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http.js"/>

View File

@ -0,0 +1,11 @@
--- ../node/test/simple/test-force-repl.js 2013-08-22 13:48:54.000000000 +0200
+++ test/simple/test-force-repl.js 2014-01-09 10:55:51.000000000 +0100
@@ -28,7 +28,7 @@
var gotToEnd = false;
var timeoutId = setTimeout(function() {
throw new Error('timeout!');
-}, 1000); // give node + the repl 1 second to boot up
+}, 10000); // give node + the repl 1 second to boot up
cp.stdout.setEncoding('utf8');

View File

@ -212,6 +212,7 @@ source.test.simple.list = \
test-file-write-stream.js \
test-file-write-stream2.js \
test-file-write-stream3.js \
test-force-repl.js \
test-fs-append-file.js \
test-fs-append-file-sync.js \
test-fs-chmod.js \