test-lib: provide case insensitivity as a prerequisite
[gitweb.git] / t / test-lib.sh
index 35739b9fbe632e59275ab1365f8ae85cce4618d0..81cf4dfb0481845df1ff7f53eebda786ef4f6d43 100644 (file)
@@ -664,6 +664,12 @@ test_lazy_prereq SYMLINKS '
        ln -s x y && test -h y
 '
 
+test_lazy_prereq CASE_INSENSITIVE_FS '
+       echo good >CamelCase &&
+       echo bad >camelcase &&
+       test "$(cat CamelCase)" != good
+'
+
 # When the tests are run as root, permission tests will report that
 # things are writable when they shouldn't be.
 test -w / || test_set_prereq SANITY