mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 04:47:52 +00:00
Fix CI test output for Adminer Mongo
This commit is contained in:
parent
91da7d3f5b
commit
8666ca68bc
@ -97,7 +97,7 @@ if ! run "\
|
|||||||
| tac \
|
| tac \
|
||||||
| grep -Ei 'Database.+Collation.+Tables' >/dev/null" \
|
| grep -Ei 'Database.+Collation.+Tables' >/dev/null" \
|
||||||
"${RETRIES}" "" "0"; then
|
"${RETRIES}" "" "0"; then
|
||||||
printf "\\r[FAIL] Adminer MySQL login\\n"
|
printf "\\r[FAIL] Adminer Mongo login\\n"
|
||||||
run "curl -sS -c cookie.txt -b cookie.txt \
|
run "curl -sS -c cookie.txt -b cookie.txt \
|
||||||
-L \
|
-L \
|
||||||
--data 'auth[driver]=mongo' \
|
--data 'auth[driver]=mongo' \
|
||||||
@ -105,7 +105,7 @@ if ! run "\
|
|||||||
--data 'auth[username]=' \
|
--data 'auth[username]=' \
|
||||||
--data 'auth[password]=' \
|
--data 'auth[password]=' \
|
||||||
--data 'auth[db]=' \
|
--data 'auth[db]=' \
|
||||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?server=mysql&username=root|| true'" "1"
|
'http://localhost:${HOST_PORT_HTTPD}${URL}?mongo=mongo&username=|| true'" "1"
|
||||||
run "curl -sS -I -c cookie.txt -b cookie.txt \
|
run "curl -sS -I -c cookie.txt -b cookie.txt \
|
||||||
-L \
|
-L \
|
||||||
--data 'auth[driver]=mongo' \
|
--data 'auth[driver]=mongo' \
|
||||||
@ -113,10 +113,10 @@ if ! run "\
|
|||||||
--data 'auth[username]=' \
|
--data 'auth[username]=' \
|
||||||
--data 'auth[password]=' \
|
--data 'auth[password]=' \
|
||||||
--data 'auth[db]=' \
|
--data 'auth[db]=' \
|
||||||
'http://localhost:${HOST_PORT_HTTPD}${URL}?server=mysql&username=root|| true'" "1"
|
'http://localhost:${HOST_PORT_HTTPD}${URL}?mongo=mongo&username=|| true'" "1"
|
||||||
rm -f cookie.txt
|
rm -f cookie.txt
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
printf "\\r[OK] Adminer MySQL login\\n"
|
printf "\\r[OK] Adminer Mongo login\\n"
|
||||||
fi
|
fi
|
||||||
rm -f cookie.txt
|
rm -f cookie.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user