changeset 16079:8f032b981dec

test-exclude: fix a typo * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir".
author Jim Meyering <meyering@redhat.com>
date Sat, 12 Nov 2011 16:44:59 +0100
parents 573c1dd32a43
children c1ab9249172f
files ChangeLog tests/test-exclude.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-12  Jim Meyering  <meyering@redhat.com>
+
+	test-exclude: fix a typo
+	* tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir".
+
 2011-11-11  Bruno Haible  <bruno@clisp.org>
 
 	obstack: Fix compilation error on MSVC 9.
--- a/tests/test-exclude.c
+++ b/tests/test-exclude.c
@@ -107,7 +107,7 @@
 
           /* Skip this test if invoked with -leading-dir on a system that
              lacks support for FNM_LEADING_DIR. */
-          if (strcmp (s, "leading-dir") == 0 && FNM_LEADING_DIR == 0)
+          if (strcmp (s, "leading_dir") == 0 && FNM_LEADING_DIR == 0)
             exit (77);
 
           /* Likewise for -casefold and FNM_CASEFOLD.  */