403Webshell
Server IP : 162.213.251.208  /  Your IP : 3.137.210.16
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : jmoroovq ( 1890)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/tests/binaries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/dev/ci/tests/binaries/test-macos
#!/usr/bin/env bash
# This script is from the "Passenger binaries test" Jenkins job. It runs
# runs tests on the binaries generated by the "build-macos" script.
#
# Required environment variables:
#
#   WORKSPACE
#
# Optional environment variables:
#
#   PASSENGER_ROOT (defaults to $WORKSPACE)
#   OUTPUT_DIR (defaults to $WORKSPACE/output)
#   RUNTIME_DIR (defaults to $WORKSPACE/cache/runtime)

set -e
SELFDIR=$(dirname "$0")
cd "$SELFDIR/../../../../packaging/binaries"
# shellcheck source=../../../../packaging/binaries/shared/lib/library.sh
source "./shared/lib/library.sh"

require_envvar WORKSPACE "$WORKSPACE"

PASSENGER_ROOT="${PASSENGER_ROOT:-$WORKSPACE}"
OUTPUT_DIR="${OUTPUT_DIR:-$WORKSPACE/output}"
RUNTIME_DIR="${RUNTIME_DIR:-$WORKSPACE/cache/runtime}"

RUNTIME_VERSION=$(cat shared/definitions/macos_runtime_version)

run mkdir -p "$OUTPUT_DIR"

run ./macos/package \
	-i "$OUTPUT_DIR" \
	-o "$OUTPUT_DIR"
run ./macos/test \
	-p "$PASSENGER_ROOT" \
	-r "$RUNTIME_DIR/$RUNTIME_VERSION" \
	-i "$OUTPUT_DIR" \
	-I "$OUTPUT_DIR"

Youez - 2016 - github.com/yon3zu
LinuXploit