Files
dokku/tests/apps/websocket/check_deploy
2013-06-30 23:59:06 +02:00

2 lines
184 B
Bash
Executable File

#!/bin/bash
set -e; output="$(curl -s -i -N -H \"Connection: Upgrade\" -H \"Upgrade: websocket\" -H \"Host: $1\" -H \"Origin: $1\" $1 -m 2)"; echo $output; test "$output" == "bazingaa"