projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test case for bad UTF-8 ISO2709 record
[idzebra-moved-to-github.git]
/
dfa
/
test_dfa.c
diff --git
a/dfa/test_dfa.c
b/dfa/test_dfa.c
index
97fdb61
..
f60ee40
100644
(file)
--- a/
dfa/test_dfa.c
+++ b/
dfa/test_dfa.c
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1994-2009 Index Data
+ Copyright (C) 2004-2013 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-17,6
+17,9
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/test.h>
#include <dfa.h>
#include <yaz/test.h>
#include <dfa.h>
@@
-27,7
+30,7
@@
int test_parse(struct DFA *dfa, const char *pattern)
i = dfa_parse(dfa, &cp);
return i;
}
i = dfa_parse(dfa, &cp);
return i;
}
-
+
static void tst(int argc, char **argv)
{
struct DFA *dfa = dfa_init();
static void tst(int argc, char **argv)
{
struct DFA *dfa = dfa_init();
@@
-59,6
+62,7
@@
int main(int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab