8 lines
247 B
Bash
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
|