Skip to content

Commit

Permalink
Rename a few remaining fs.cat calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Feb 17, 2010
1 parent 0b823dc commit 92292c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/mjsunit/test-http-tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ var responses_sent = 0;
var responses_recvd = 0;
var body0 = "";
var body1 = "";
var caPem = fs.cat(fixturesDir+"/test_ca.pem").wait();
var certPem = fs.cat(fixturesDir+"/test_cert.pem").wait();
var keyPem = fs.cat(fixturesDir+"/test_key.pem").wait();
var caPem = fs.readFile(fixturesDir+"/test_ca.pem").wait();
var certPem = fs.readFile(fixturesDir+"/test_cert.pem").wait();
var keyPem = fs.readFile(fixturesDir+"/test_key.pem").wait();


var http_server=http.createServer(function (req, res) {
Expand Down
6 changes: 3 additions & 3 deletions test/mjsunit/test-tcp-tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ try {
}

if (have_tls) {
var caPem = fs.cat(fixturesDir+"/test_ca.pem").wait();
var certPem = fs.cat(fixturesDir+"/test_cert.pem").wait();
var keyPem = fs.cat(fixturesDir+"/test_key.pem").wait();
var caPem = fs.readFile(fixturesDir+"/test_ca.pem").wait();
var certPem = fs.readFile(fixturesDir+"/test_cert.pem").wait();
var keyPem = fs.readFile(fixturesDir+"/test_key.pem").wait();

/* All are run at once, so run on different ports */
tlsTest(20443, "localhost", caPem, keyPem, certPem);
Expand Down

0 comments on commit 92292c8

Please sign in to comment.