Upload Modules
This commit is contained in:
9
ngx_fancyindex/t/bug107-filesystem-root-404.test
Normal file
9
ngx_fancyindex/t/bug107-filesystem-root-404.test
Normal file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
cat <<---
|
||||
Bug #107: 404 is returned when indexing filesystem root
|
||||
https://github.com/aperezdc/ngx-fancyindex/issues/107
|
||||
--
|
||||
nginx_start 'root /;'
|
||||
content=$(fetch)
|
||||
grep 'Index of /' <<< "${content}" # It is an index
|
||||
grep '<table\>' <<< "${content}" # It contains a table
|
||||
Reference in New Issue
Block a user