-
-
Save linki/83885a88db29e1bf4193 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
function check_status | |
{ | |
docker run -t --rm odise/busybox-curl test \ | |
$(curl -s -o /dev/null -I -w "%{http_code}" $2) = "$1" | |
} | |
check_status 302 https://linki.openproject.com/ | |
check_status 302 https://linki.openproject.com/login | |
check_status 302 https://linki.openproject.com/auth/concierge | |
check_status 302 https://linki.openproject.com/logout | |
check_status 302 https://login.openproject.com/auth/end_session | |
check_status 200 https://login.openproject.com/bye |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment