ngx-awesomeindex/t/01-smoke-hasindex.test
2016-08-18 18:16:16 +03:00

7 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 )