From: Jim Meyering Date: Sat, 12 Nov 2011 15:44:59 +0000 (+0100) Subject: test-exclude: fix a typo X-Git-Tag: v0.1~1447 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=24586b2eeb992e5cccc359e009ed3d1860c5eb90;p=gnulib.git test-exclude: fix a typo * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir". --- 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. */