Pandabot/vendor/amphp/http-server/tools/h2spec.sh

7 lines
227 B
Bash
Executable file

#!/usr/bin/env bash
wget https://github.com/summerwind/h2spec/releases/latest/download/h2spec_linux_amd64.tar.gz
tar -xzf h2spec_linux_amd64.tar.gz
php test/test-server.php &
sleep 1
./h2spec -p 1338 --tls --insecure --strict