projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added YAZ_CHECK_TERM which terminates test program. Using yaz/test.h
[yaz-moved-to-github.git]
/
test
/
tstxmlquery.c
diff --git
a/test/tstxmlquery.c
b/test/tstxmlquery.c
index
68a86b5
..
9aec56b
100644
(file)
--- a/
test/tstxmlquery.c
+++ b/
test/tstxmlquery.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tstxmlquery.c,v 1.3 2006-01-27 19:04:15 adam Exp $
+ * $Id: tstxmlquery.c,v 1.4 2006-01-29 21:59:13 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
@@
-45,8
+45,7
@@
int main (int argc, char **argv)
pqf2xml_text("@attr 1=4 computer");
pqf2xml_text("@attr 1=4 computer");
- exit(0);
- return 0;
+ YAZ_CHECK_TERM;
}
/*
}
/*