mirror of
https://github.com/nodejs/node.git
synced 2025-05-05 22:29:54 +00:00

Only `test-stdin-from-file.js` has been modified so that the `stdin.txt` is written in a temp directory instead of the `fixtures` directory. PR-URL: https://github.com/nodejs/node/pull/6187 Reviewed-By: James M Snell <jasnell@gmail.com>
14 lines
248 B
JavaScript
14 lines
248 B
JavaScript
'use strict';
|
|
require('../common');
|
|
var assert = require('assert');
|
|
|
|
var fs = require('fs');
|
|
|
|
var files = [];
|
|
|
|
while (files.length < 256)
|
|
files.push(fs.openSync(__filename, 'r'));
|
|
|
|
var r = process.memoryUsage();
|
|
assert.equal(true, r['rss'] > 0);
|