ngx-fancyindex/t/01-smoke-hasindex.test

8 lines
224 B
Plaintext
Raw Normal View History

#! /bin/bash
2016-08-18 15:15:37 +00:00
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 )