Add tests for case-(in)sensitive sorting
parent
a634077b5f
commit
e5f227686a
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
cat <<---
|
||||
This test checks that case-insensitive sorting works.
|
||||
--
|
||||
|
||||
nginx_start 'fancyindex_case_sensitive off;'
|
||||
content=$(fetch /case-sensitivity/)
|
||||
grep -A 999 '\<alice\>' <<< "${content}" | grep '\<Bob\>' # Bob is after alice
|
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
cat <<---
|
||||
This test checks that case-sensitive sorting works.
|
||||
--
|
||||
|
||||
nginx_start 'fancyindex_case_sensitive on;'
|
||||
content=$(fetch /case-sensitivity/)
|
||||
grep -A 999 '\<Bob\>' <<< "${content}" | grep '\<alice\>' # alice is after Bob
|
Loading…
Reference in New Issue