From d112c2c9302feb13ab2a9f85ea6160f7dedad551 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 2 Nov 2010 00:08:31 +0200 Subject: [PATCH] * update testcases for normalization --- src/tests/Makefile.am | 2 +- src/tests/test-mu-cmd.c | 7 ++++--- src/tests/testdir2/{foo => Foo}/cur/mail4 | 0 3 files changed, 5 insertions(+), 4 deletions(-) rename src/tests/testdir2/{foo => Foo}/cur/mail4 (100%) diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index 86c06cac..c3fa6abd 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -88,5 +88,5 @@ EXTRA_DIST= \ testdir2/bar/cur/mail1 \ testdir2/bar/cur/mail2 \ testdir2/bar/cur/mail3 \ - testdir2/foo/cur/mail4 + testdir2/Foo/cur/mail4 diff --git a/src/tests/test-mu-cmd.c b/src/tests/test-mu-cmd.c index da62c5b7..7d65f068 100644 --- a/src/tests/test-mu-cmd.c +++ b/src/tests/test-mu-cmd.c @@ -141,6 +141,7 @@ test_mu_find_02 (void) search ("bull", 1); search ("bull m:foo", 0); search ("bull m:/foo", 1); + search ("bull m:/Foo", 1); } @@ -176,7 +177,7 @@ test_mu_extract_01 (void) { gchar *cmdline, *output, *erroutput; - cmdline = g_strdup_printf ("%s extract %s%cfoo%ccur%cmail4", + cmdline = g_strdup_printf ("%s extract %s%cFoo%ccur%cmail4", MU_PROGRAM, MU_TESTMAILDIR2, G_DIR_SEPARATOR, @@ -225,7 +226,7 @@ test_mu_extract_02 (void) g_assert (g_mkdir_with_parents (tmpdir, 0700) == 0); - cmdline = g_strdup_printf ("%s extract -a --target-dir=%s %s%cfoo%ccur%cmail4", + cmdline = g_strdup_printf ("%s extract -a --target-dir=%s %s%cFoo%ccur%cmail4", MU_PROGRAM, tmpdir, MU_TESTMAILDIR2, @@ -262,7 +263,7 @@ test_mu_extract_03 (void) g_assert (g_mkdir_with_parents (tmpdir, 0700) == 0); cmdline = g_strdup_printf ("%s extract --parts 3 " - "--target-dir=%s %s%cfoo%ccur%cmail4", + "--target-dir=%s %s%cFoo%ccur%cmail4", MU_PROGRAM, tmpdir, MU_TESTMAILDIR2, diff --git a/src/tests/testdir2/foo/cur/mail4 b/src/tests/testdir2/Foo/cur/mail4 similarity index 100% rename from src/tests/testdir2/foo/cur/mail4 rename to src/tests/testdir2/Foo/cur/mail4