#! /bin/bash cat <<--- This test checks that a local footer can be included with "fancyindex_header ... local" -- use pup cat > "${TESTDIR}/footer" <yes EOF nginx_start 'fancyindex_footer "/footer" local;' T=$(fetch / | pup -p body 'div#customfooter' text{}) [[ $T == yes ]] || fail 'Custom header missing' nginx_is_running || fail 'Nginx died'