Test loop: Enforce the usage of /bin/bash instead of /bin/sh for the Allrun scripts
This commit is contained in:
parent
6c89f28e58
commit
db1fc7ef8f
1 changed files with 2 additions and 0 deletions
|
@ -44,9 +44,11 @@ ADDITIONAL_SHELL_FUNCTIONS=$2
|
||||||
|
|
||||||
for AR in `find ${TEST_RUN_DIR} -name Allrun`
|
for AR in `find ${TEST_RUN_DIR} -name Allrun`
|
||||||
do
|
do
|
||||||
|
# Make sure we are using /bin/bash as the activation shell
|
||||||
# Replace the macro runApplication with runApplicationAndReportOnError
|
# Replace the macro runApplication with runApplicationAndReportOnError
|
||||||
mv ${AR} ${AR}.org
|
mv ${AR} ${AR}.org
|
||||||
sed \
|
sed \
|
||||||
|
-e s/"#!\/bin\/sh"/"#!\/bin\/bash"/g \
|
||||||
-e s/"runApplication "/"runApplicationAndReportOnError "/g \
|
-e s/"runApplication "/"runApplicationAndReportOnError "/g \
|
||||||
-e /RunFunctions/r${ADDITIONAL_SHELL_FUNCTIONS} \
|
-e /RunFunctions/r${ADDITIONAL_SHELL_FUNCTIONS} \
|
||||||
${AR}.org > ${AR}
|
${AR}.org > ${AR}
|
||||||
|
|
Reference in a new issue