Skip to content

Commit 82e4098

Browse files
committed
Fix type and add parameter for startSolidNextcloud.
1 parent f603585 commit 82e4098

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

run-solid-test-suite.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function startPubSub {
2626
}
2727

2828
function startSolidNextcloud {
29-
docker run -d --name "$1" --network=testnet --env-file "./env-vars-$1.list solid-nextcloud"
29+
docker run -d --name "$1" --network=testnet --env-file "./env-vars-$1.list" "${2:-solid-nextcloud}"
3030
until docker run --rm --network=testnet solidtestsuite/webid-provider-tests curl -kI "https://$1" 2> /dev/null > /dev/null
3131
do
3232
echo Waiting for "$1" to start, this can take up to a minute ...
@@ -50,7 +50,8 @@ function runTests {
5050
--env COOKIE="$COOKIE_server" \
5151
--env COOKIE_ALICE="$COOKIE_server" \
5252
--env COOKIE_BOB="$COOKIE_thirdparty" \
53-
--env-file ./env-vars-testers.list $1-tests
53+
--env-file ./env-vars-testers.list \
54+
"$1-tests"
5455
}
5556

5657
run_solid_test_suite() {

0 commit comments

Comments
 (0)