Added parameter for zebra_open.
[idzebra-moved-to-github.git] / test / marcxml / t1.c
index 6bc76af..9b4aa64 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: t1.c,v 1.2 2004-12-02 14:05:04 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: t1.c,v 1.6 2005-09-13 11:51:08 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -20,14 +20,15 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
-#include "../api/testlib.h"
+#include "testlib.h"
 
 int main(int argc, char **argv)
 {
     ZebraService zs = start_up(0, argc, argv);
-    ZebraHandle  zh = zebra_open(zs);
+    ZebraHandle  zh = zebra_open(zs, 0);
     char path[256];
 
+    check_filter(zs, "grs.xml");
     zebra_select_database(zh, "Default");
 
     zebra_init(zh);