ngx-fancyindex/t/03-exact_size_off.test

10 lines
226 B
Bash

#! /bin/bash
cat <<---
We test if the output from using "fancyindex_exact_size off" looks sane
--
EXACT_SIZE="off"
nginx_start
content=$(fetch)
grep -e '[1-9]\.[0-9] KiB' <<< "${content}"
grep -E '[0-9]+ B' <<< "${content}"