diff --git a/lib/test/testing_util.js b/lib/test/testing_util.js index 6a32756..dfe0a2d 100644 --- a/lib/test/testing_util.js +++ b/lib/test/testing_util.js @@ -2,7 +2,7 @@ var EventBuffer, check_exec, check_exec_options, exec, listsContainSameElements, sys; var __slice = Array.prototype.slice; exec = require('child_process').exec; - sys = require('sys'); + util = require('util'); exports.check_exec_options = check_exec_options = function(cmd, options, callback) { return exec(cmd, options, function(e, stdout, stderr) { if (e) { @@ -57,7 +57,7 @@ EventBuffer.prototype.expect = function() { var args, t; t = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : []; - sys.debug("Expecting " + args[0] + "..."); + util.debug("Expecting " + args[0] + "..."); return this.wait(function(event) { var i, x, _len, _ref; _ref = args.slice(0, -1);