-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
151 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
#!/usr/bin/env bash | ||
|
||
SRC=$(cd $(dirname "$0"); pwd) | ||
source "${SRC}/e2e/include.sh" | ||
|
||
# Abort script at first error | ||
set -e | ||
set -o verbose | ||
|
||
# MODULES | ||
bash ./test/e2e/modules/get-set.sh | ||
spec "Configuration system working" | ||
bash ./test/e2e/modules/module.sh | ||
spec "module system" | ||
bash ./test/e2e/modules/module-safeguard.sh | ||
spec "module safeguard system (--safe)" | ||
|
||
# CLI | ||
bash ./test/e2e/cli/gracefulReload.sh | ||
spec "gracefulReload system 1" | ||
bash ./test/e2e/cli/gracefulReload2.sh | ||
spec "gracefulReload system 2" | ||
bash ./test/e2e/cli/gracefulReload3.sh | ||
spec "gracefulReload system 3" | ||
bash ./test/e2e/cli/reload.sh | ||
spec "Reload" | ||
bash ./test/e2e/cli/operate-regex.sh | ||
spec "Operate process that match regex" | ||
bash ./test/e2e/cli/interpreter.sh | ||
spec "Javascript transpilers tests" | ||
bash ./test/e2e/cli/app-configuration.sh | ||
spec "App configuration" | ||
bash ./test/e2e/cli/binary.sh | ||
spec "binary test" | ||
bash ./test/e2e/cli/startOrX.sh | ||
spec "startOrX commands" | ||
bash ./test/e2e/cli/reset.sh | ||
spec "Reset meta" | ||
bash ./test/e2e/cli/env-refresh.sh | ||
spec "Environment refresh on restart" | ||
bash ./test/e2e/cli/extra-lang.sh | ||
spec "Various programming languages checks (Python, PHP)" | ||
bash ./test/e2e/cli/multiparam.sh | ||
spec "Multiparam process management" | ||
bash ./test/e2e/cli/smart-start.sh | ||
spec "smart start test" | ||
bash ./test/e2e/cli/args.sh | ||
spec "check arguments passing" | ||
bash ./test/e2e/cli/attach.sh | ||
spec "pm2 attach method" | ||
bash ./test/e2e/cli/serve.sh | ||
spec "pm2 serve CLI method" | ||
bash ./test/e2e/cli/monit.sh | ||
spec "km selective monitoring " | ||
bash ./test/e2e/cli/cli-actions-1.sh | ||
spec "CLI basic test" | ||
bash ./test/e2e/cli/cli-actions-2.sh | ||
spec "Second hard cli tests" | ||
bash ./test/e2e/cli/dump.sh | ||
spec "dump test" | ||
bash ./test/e2e/cli/resurrect.sh | ||
spec "resurrect test" | ||
bash ./test/e2e/cli/mjs.sh | ||
spec "Test import syntax" | ||
bash ./test/e2e/cli/watch.sh | ||
spec "watch system tests" | ||
bash ./test/e2e/cli/right-exit-code.sh | ||
spec "Verification exit code" | ||
bash ./test/e2e/cli/harmony.sh | ||
spec "Harmony test" | ||
bash ./test/e2e/cli/fork.sh | ||
spec "Fork system working" | ||
|
||
# PROCESS FILES | ||
bash ./test/e2e/process-file/json-file.sh | ||
spec "JSON file test" | ||
bash ./test/e2e/process-file/yaml-configuration.sh | ||
spec "YAML configuration support" | ||
bash ./test/e2e/process-file/piped-config.sh | ||
spec "Piped JSON file test" | ||
bash ./test/e2e/process-file/json-reload.sh | ||
spec "JSON reload test" | ||
bash ./test/e2e/process-file/homogen-json-action.sh | ||
spec "Homogen json actions" | ||
bash ./test/e2e/process-file/app-config-update.sh | ||
spec "CLI/JSON argument reload" | ||
bash ./test/e2e/process-file/js-configuration.sh | ||
spec "js configuration support" | ||
|
||
# BINARIES | ||
bash ./test/e2e/binaries/pm2-dev.sh | ||
spec "pm2-dev" | ||
bash ./test/e2e/binaries/pm2-runtime.sh | ||
spec "pm2-runtime" | ||
|
||
# INTERNALS | ||
bash ./test/e2e/internals/wait-ready-event.sh | ||
spec "Wait for application ready event" | ||
bash ./test/e2e/internals/daemon-paths-override.sh | ||
spec "Override daemon configuration paths" | ||
bash ./test/e2e/internals/source_map.sh | ||
spec "Source map resolution on exception" | ||
bash ./test/e2e/internals/wrapped-fork.sh | ||
spec "wrapped fork" | ||
bash ./test/e2e/internals/infinite-loop.sh | ||
spec "Infinite loop stop" | ||
bash ./test/e2e/internals/internals/options-via-env.sh | ||
spec "set option via environment" | ||
bash ./test/e2e/internals/promise.sh | ||
spec "Promise warning message tests" | ||
bash ./test/e2e/internals/increment-var.sh | ||
spec "Increment env variables" | ||
bash ./test/e2e/internals/start-consistency.sh | ||
spec "Consistency between a JSON an CLI start" | ||
|
||
# MISC | ||
bash ./test/misc/inside-pm2.sh | ||
spec "Starting a process inside a PM2 process" | ||
bash ./test/misc/vizion.sh | ||
spec "vizion features (versioning control)" | ||
bash ./test/misc/misc.sh | ||
spec "MISC features" | ||
bash ./test/misc/versioning-cmd.sh | ||
spec "versioning system tests" | ||
bash ./test/misc/instance-number.sh | ||
spec "Negative instance number spawn one worker" | ||
bash ./test/misc/startup.sh | ||
spec "upstart startup test" | ||
bash ./test/misc/nvm-node-version.sh | ||
spec "NVM node version setting" | ||
bash ./test/misc/cron-system.sh | ||
spec "Cron system tests" | ||
|
||
# LOGS | ||
bash ./test/e2e/logs/log-timestamp.sh | ||
spec "timestamp prefix of pm2.log" | ||
bash ./test/e2e/logs/log-custom.sh | ||
spec "Custom log timestamp" | ||
bash ./test/e2e/logs/log-reload.sh | ||
spec "Log reload" | ||
bash ./test/e2e/logs/log-entire.sh | ||
spec "merge stdout && stderr" | ||
bash ./test/e2e/logs/log-null.sh | ||
spec "Logging path set to null" | ||
bash ./test/e2e/logs/log-json.sh | ||
spec "Logging directly to file in json" | ||
|
||
$pm2 kill |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.