diff --git a/dylan-testing/common/config.js b/dylan-testing/common/config.js index f17ca7247f359214d82ce3ffbe57a2fdfcf159c2..d6b5709395647b7a8ee20fe1bcfc7c9fc8740948 100644 --- a/dylan-testing/common/config.js +++ b/dylan-testing/common/config.js @@ -1,3 +1,5 @@ +"use strict"; + function getConfig(){ var config; diff --git a/dylan-testing/common/constants.js b/dylan-testing/common/constants.js index 87d9c75b1078419f0ebda88c724555fbc0c98d09..5ad66417e0bf132d1574abc353f7e3de753028ab 100644 --- a/dylan-testing/common/constants.js +++ b/dylan-testing/common/constants.js @@ -1,3 +1,5 @@ +"use strict"; + module.exports = { }; diff --git a/dylan-testing/common/http-sockets.js b/dylan-testing/common/http-sockets.js index 93f3623a94fefecfa46ce7a3f7d11f54308107b1..7daea8440e73c5fd86495d8e52b43f4052f68199 100644 --- a/dylan-testing/common/http-sockets.js +++ b/dylan-testing/common/http-sockets.js @@ -1,3 +1,5 @@ +"use strict"; + var fs = require("fs"); var http = require("http"); var net = require("net"); diff --git a/dylan-testing/core/init.js b/dylan-testing/core/init.js index cfe5b85fc058d34abb1317ab7282a8d81d85c471..14ec2b17b3355b3fcb35d46c10e5e9597b2b7ca2 100644 --- a/dylan-testing/core/init.js +++ b/dylan-testing/core/init.js @@ -1,3 +1,5 @@ +"use strict"; + var fs = require("fs"); var cproc = require("child_process"); diff --git a/dylan-testing/core/login-service.js b/dylan-testing/core/login-service.js index ef42e9b9957d17decee89ff8cb1489e0928a4ad4..a0c1570ee6b69fe9dd80464720e965aafc520ca3 100644 --- a/dylan-testing/core/login-service.js +++ b/dylan-testing/core/login-service.js @@ -1,3 +1,5 @@ +"use strict"; + var express = require("express"); var http = require("http"); var fs = require("fs"); @@ -13,7 +15,6 @@ app.get("/", function(req, res){ res.end(); }); -// Create server, start it, and make sure it gracefully shuts down -// when this service gets terminated +// Create server and listening socket, then set appropriate perms on socket server = httpSockets.createServer(app); server.listen(config.varPath + "/login-service.sock"); diff --git a/dylan-testing/core/web-service.js b/dylan-testing/core/web-service.js index f7d55d6869cc42421ed39b23cbaffeb225490310..3aeb38e16ca8378152c5805efd2332044bdf3655 100644 --- a/dylan-testing/core/web-service.js +++ b/dylan-testing/core/web-service.js @@ -1,3 +1,5 @@ +"use strict"; + var express = require("express"); var http = require("http"); var fs = require("fs");