Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
node_modules /
npm /
test /
network /
Delete
Unzip
Name
Size
Permission
Date
Action
git-cache-locking.js
1.17
KB
-rw-r--r--
2017-11-03 01:22
git-cache-no-hooks.js
1.37
KB
-rw-r--r--
2017-11-03 01:22
legacy-bundled-git.js
2.36
KB
-rw-r--r--
2017-11-03 01:22
legacy-url-dep.js
1.32
KB
-rw-r--r--
2017-11-03 01:22
registry.js
1.92
KB
-rw-r--r--
2017-11-03 01:22
Save
Rename
var test = require('tap').test var fs = require('fs') var path = require('path') var common = require('../common-tap.js') var rimraf = require('rimraf') var mkdirp = require('mkdirp') var pkg = path.resolve(__dirname, 'git-cache-no-hooks') var osenv = require('osenv') var tmp = path.join(pkg, 'tmp') var cache = path.join(pkg, 'cache') test('setup', function (t) { rimraf.sync(pkg) mkdirp.sync(pkg) mkdirp.sync(cache) mkdirp.sync(tmp) mkdirp.sync(path.resolve(pkg, 'node_modules')) t.end() }) test('git-cache-no-hooks: install a git dependency', function (t) { // disable git integration tests on Travis. if (process.env.TRAVIS) return t.end() common.npm([ 'install', 'git://github.com/nigelzor/npm-4503-a.git', '--cache', cache, '--tmp', tmp ], { cwd: pkg }, function (err, code, stdout, stderr) { t.ifErr(err, 'npm completed') t.equal(stderr, '', 'no error output') t.equal(code, 0, 'npm install should succeed') // verify permissions on git hooks var repoDir = 'git-github-com-nigelzor-npm-4503-a-git-40c5cb24' var hooksPath = path.join(cache, '_git-remotes', repoDir, 'hooks') fs.readdir(hooksPath, function (err) { t.equal(err && err.code, 'ENOENT', 'hooks are not brought along with repo') t.end() }) }) }) test('cleanup', function (t) { process.chdir(osenv.tmpdir()) rimraf.sync(pkg) t.end() })