From 24586b2eeb992e5cccc359e009ed3d1860c5eb90 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 12 Nov 2011 16:44:59 +0100 Subject: [PATCH] test-exclude: fix a typo * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir". --- ChangeLog | 5 +++++ tests/test-exclude.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6b67bd8bc..4a2956650 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-11-12 Jim Meyering + + test-exclude: fix a typo + * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir". + 2011-11-11 Bruno Haible obstack: Fix compilation error on MSVC 9. diff --git a/tests/test-exclude.c b/tests/test-exclude.c index 47392d9b7..88af36ad7 100644 --- a/tests/test-exclude.c +++ b/tests/test-exclude.c @@ -107,7 +107,7 @@ main (int argc, char **argv) /* 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. */ -- 2.11.0