X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Futils.c;h=a6c84491605517a8f0af7637ff681c70e943340f;hp=c4f78fe4b766c05b8b1def56b22650ff8bfb0737;hb=e72b57629bf49cdfd663002a8bb336a67b958979;hpb=3323b84c30b9d7fa16a6065225cb7135e7a6bcd7 diff --git a/src/utils.c b/src/utils.c index c4f78fe4..a6c84491 100644 --- a/src/utils.c +++ b/src/utils.c @@ -2231,6 +2231,8 @@ test_dir_matches_p() { { "*/*COMPLETE", NULL, NULL }, "foo/!COMPLETE", true }, { { "/dir with spaces", NULL, NULL }, "dir with spaces", true }, { { "/dir*with*spaces", NULL, NULL }, "dir with spaces", true }, + { { "/Tmp/has", NULL, NULL }, "/Tmp/has space", false }, + { { "/Tmp/has", NULL, NULL }, "/Tmp/has,comma", false }, }; for (i = 0; i < countof(test_array); ++i)