From fa43d2f69ebab1ba43b9a79d4fe598268ade3b54 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Tue, 6 Mar 2018 10:55:46 +0530 Subject: [PATCH] test: rename test-regress-GH-1726 Rename the test appropriately alongside mentioning the subsystem Also, make a few basic changes to make sure the test conforms to the standard test structure Refs: https://github.com/nodejs/node/issues/19105 Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure PR-URL: https://github.com/nodejs/node/pull/19161 Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Joyee Cheung Reviewed-By: Richard Lau Reviewed-By: Gireesh Punathil --- ...gress-GH-1726.js => test-regress-child_process-exit.js} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename test/sequential/{test-regress-GH-1726.js => test-regress-child_process-exit.js} (98%) diff --git a/test/sequential/test-regress-GH-1726.js b/test/sequential/test-regress-child_process-exit.js similarity index 98% rename from test/sequential/test-regress-GH-1726.js rename to test/sequential/test-regress-child_process-exit.js index 1291dec261ccf6..303f015cf0aebd 100644 --- a/test/sequential/test-regress-GH-1726.js +++ b/test/sequential/test-regress-child_process-exit.js @@ -20,12 +20,13 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; +require('../common'); + // Open a chain of five Node processes each a child of the next. The final -// process exits immediately. Each process in the chain is instructed to -// exit when its child exits. +// process exits immediately. Each process in the chain is instructed to exit +// when its child exits. // https://github.com/joyent/node/issues/1726 -require('../common'); const assert = require('assert'); const ch = require('child_process');