Files
nginx-modules/ngx_fancyindex/t/has-index.test
2026-05-17 11:34:54 +08:00

8 lines
247 B
Bash

#! /bin/bash
cat <<---
This test ensures that the "index.html" is returned instead of a directory
listing when fetching a directory which contains an index file.
--
nginx_start
diff -u "${TESTDIR}/has-index/index.html" <( fetch /has-index/ ) 1>&2