Files
nginx-custom/ngx-fancyindex/t/01-smoke-hasindex.test
2017-02-26 00:07:07 +01:00

8 lines
224 B
Bash

#! /bin/bash
cat <<---
This test fetches the root directory served by Nginx, which has no index file,
and checks that the output contains something that resembles a directory index.
--
nginx_start
grep 'Index of' <( fetch )