toolkit/func/core/pkg_httpd/20-test-basic-http.sh

5 lines
166 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/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 $?