freebsd-ports/textproc/libextractor/files/patch-src_test_plugintest.c
Vasil Dimov 75cbac7a81 Upgrade textproc/libextractor from 0.5.17a to 0.5.18
patch-src_test_plugintest.c: fix a failing test.
  Christian Grothoff confirmed that the test program should be fixed,
  rather than the library.

patch-configure: fix ``if test "foo" == "bar"'' (the double eq sign is
  not supported by /bin/sh).
2007-04-30 19:42:36 +00:00

13 lines
485 B
C

--- src/test/plugintest.c.orig Mon Apr 30 07:44:21 2007
+++ src/test/plugintest.c Mon Apr 30 07:43:45 2007
@@ -58,8 +58,8 @@
"-libextractor_split");
list = EXTRACTOR_getKeywords(arg,
"/etc/resolv.conf");
- if (3 != EXTRACTOR_countKeywords(list)) {
- printf("Invalid number of keywords (3 != %d)\n",
+ if (4 != EXTRACTOR_countKeywords(list)) {
+ printf("Invalid number of keywords (4 != %d)\n",
EXTRACTOR_countKeywords(list));
return -1;
}