From b9452bcbba627ec9c032b7cc6040594f74c245a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Wed, 28 Oct 2015 16:51:13 +0100 Subject: [core] refactor test server startup --- test/storage/server.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/storage/server.js') diff --git a/test/storage/server.js b/test/storage/server.js index efc1e1d6c0..249c6a124b 100755 --- a/test/storage/server.js +++ b/test/storage/server.js @@ -2,6 +2,7 @@ /* jshint node: true */ 'use strict'; +var fs = require('fs'); var express = require('express'); var app = express(); @@ -106,6 +107,7 @@ var server = app.listen(3000, function () { if (process.argv[2]) { // Allow the test to continue running. - process.stdin.write("Go!\n"); + fs.write(+process.argv[2], 'OK'); + fs.close(+process.argv[2]); } }); -- cgit v1.2.1