File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,26 @@ function runPss {
3636 docker logs server
3737 echo Confirmed that https://server is started now, assuming that https://thirdparty will also come online soon
3838
39- echo Getting cookie...
39+ echo Getting cookie for Alice ...
4040 export COOKIE=" ` docker run --rm --cap-add=SYS_ADMIN --network=testnet -e SERVER_TYPE=php-solid-server --env-file ./env-vars-for-test-image.list cookie` "
41+ if [[ $COOKIE == PHPSESSID* ]]
42+ then
43+ echo Successfully obtained cookie for Alice: $COOKIE
44+ else
45+ echo Error obtaining cookie for Alice, stopping.
46+ exit 1
47+ fi
48+
49+ echo Getting cookie for Bob...
4150 export COOKIE_BOB=" ` docker run --rm --cap-add=SYS_ADMIN --network=testnet -e SERVER_TYPE=php-solid-server --env-file ./env-vars-for-third-party.list cookie` "
42- }
51+ if [[ $COOKIE_BOB == PHPSESSID* ]]
52+ then
53+ echo Successfully obtained cookie for Bob: $COOKIE_BOB
54+ else
55+ echo Error obtaining cookie for Bob, stopping.
56+ exit 1
57+ fi
58+ }
4359
4460function runTests {
4561 echo " Running webid-provider tests with cookie $COOKIE "
You can’t perform that action at this time.
0 commit comments