2016-11-02 11:47:27 +00:00
|
|
|
#! /bin/bash
|
|
|
|
cat <<---
|
2022-05-09 04:42:54 +00:00
|
|
|
This test checks if the output from using "fancyindex_exact_size off"
|
|
|
|
looks sane.
|
2016-11-02 11:47:27 +00:00
|
|
|
--
|
2016-12-07 18:20:34 +00:00
|
|
|
nginx_start 'fancyindex_exact_size off;'
|
2016-11-02 11:47:27 +00:00
|
|
|
content=$(fetch)
|
|
|
|
grep -e '[1-9]\.[0-9] KiB' <<< "${content}"
|
|
|
|
grep -E '[0-9]+ B' <<< "${content}"
|