summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cfg.mk6
-rw-r--r--tests/local.mk2
-rwxr-xr-xtests/tail-2/descriptor-vs-rename.sh (renamed from tests/tail-2/f-vs-rename.sh)0
3 files changed, 7 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 852685353..8a5483eb6 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -308,6 +308,12 @@ check-programs-vs-x:
done; \
exit $$status
+# Ensure we can check out on case insensitive file systems
+sc_case_insensitive_file_names: src/uniq
+ @git ls-files | sort -f | src/uniq -Di | grep . && \
+ { echo "$(ME): the above file(s) conflict on case insensitive" \
+ " file systems" 1>&2; exit 1; } || :
+
# Ensure that the end of each release's section is marked by two empty lines.
sc_NEWS_two_empty_lines:
@sed -n 4,/Noteworthy/p $(srcdir)/NEWS \
diff --git a/tests/local.mk b/tests/local.mk
index 8d01064bf..bb78796cf 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -172,7 +172,7 @@ all_tests = \
tests/tail-2/inotify-hash-abuse2.sh \
tests/tail-2/F-vs-missing.sh \
tests/tail-2/F-vs-rename.sh \
- tests/tail-2/f-vs-rename.sh \
+ tests/tail-2/descriptor-vs-rename.sh \
tests/tail-2/inotify-rotate.sh \
tests/tail-2/inotify-rotate-resources.sh \
tests/chmod/no-x.sh \
diff --git a/tests/tail-2/f-vs-rename.sh b/tests/tail-2/descriptor-vs-rename.sh
index 083d71449..083d71449 100755
--- a/tests/tail-2/f-vs-rename.sh
+++ b/tests/tail-2/descriptor-vs-rename.sh