mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Improved run-api-tests.sh script to make it compatible with sh
This commit is contained in:
7
indocker
7
indocker
@@ -5,9 +5,4 @@ if ! [[ $(docker ps | grep shlink) ]]; then
|
||||
docker-compose up -d
|
||||
fi
|
||||
|
||||
if [[ "$*" == *"test:api:rr"* ]]; then
|
||||
# API tests should be run inside the RoadRunner container when the test runtime is RoadRunner
|
||||
docker exec -it shlink_roadrunner /bin/sh -c "$*"
|
||||
else
|
||||
docker exec -it shlink_swoole /bin/sh -c "$*"
|
||||
fi
|
||||
docker exec -it shlink_swoole /bin/sh -c "$*"
|
||||
|
||||
Reference in New Issue
Block a user