ngx-fancyindex/t/03-exact_size_off.test

10 lines
248 B
Plaintext
Raw Normal View History

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