Skip to content

Commit

Permalink
[BUGFIX] Remove invalid argment quuoting in runTests.sh (#1029)
Browse files Browse the repository at this point in the history
`Build/Scripts/runTests.sh` provides a test-suite `composer`
and allows passing additional command and options directly
down to the composer command.

Due to an invalid quoting the passed options were broking
and not regonized by the `composer` binary.

This change removes the superflous argument passing
and therefore allows passing additional options to the
`composer` command.

Resolves: #967
  • Loading branch information
sbuerk authored Nov 27, 2023
1 parent 190e5f9 commit ba486fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ case ${TEST_SUITE} in
cleanTestFiles
;;
composer)
COMMAND="composer \"$@\""
COMMAND="composer $@"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name composer-command-${SUFFIX} -e COMPOSER_CACHE_DIR=.cache/composer -e COMPOSER_ROOT_VERSION=${COMPOSER_ROOT_VERSION} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
SUITE_EXIT_CODE=$?
;;
Expand Down

0 comments on commit ba486fc

Please sign in to comment.