spring-boot/spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-t.../src/intTest/resources/scripts/init.d/launch-with-run-as-invalid-...

8 lines
141 B
Bash

source ./test-functions.sh
install_service
echo 'RUN_AS_USER=johndoe' > /test-service/spring-boot-app.conf
start_service
echo "Status: $?"