2016-11-02 11:47:27 +00:00
|
|
|
#! /bin/bash
|
|
|
|
cat <<---
|
|
|
|
We test if the output from using "fancyindex_exact_size off" looks sane
|
|
|
|
--
|
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}"
|