12 lines
370 B
Bash
Executable file
12 lines
370 B
Bash
Executable file
#!/bin/sh
|
|
# Dünner Host-Wrapper für die PHP-Testsuite.
|
|
# Delegiert an tests/run.php; -u www-data ist zwingend, siehe CLAUDE.md.
|
|
#
|
|
# Usage:
|
|
# ./scripts/test.sh
|
|
|
|
set -eu
|
|
|
|
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
|
|
exec docker compose -f "$SCRIPT_DIR/../docker-compose.yml" --project-directory "$SCRIPT_DIR/.." exec -u www-data web php tests/run.php "$@"
|