toolkit/func/core/pkg_httpd/20-test-basic-http.sh
2021-07-04 23:50:25 -07:00

4 lines
166 B
Bash
Executable file

#!/bin/bash
r_log "httpd" "Test basic http functionality"
curl -H 'Accept-Language: en' -s http://localhost/ | grep "Test Page" > /dev/null 2>&1
r_checkExitStatus $?