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
Implemented loadable filters.
[idzebra-moved-to-github.git]
/
test
/
marcxml
/
test2.sh
diff --git
a/test/marcxml/test2.sh
b/test/marcxml/test2.sh
index
26e899d
..
6ef8acd
100755
(executable)
--- a/
test/marcxml/test2.sh
+++ b/
test/marcxml/test2.sh
@@
-1,11
+1,17
@@
#!/bin/sh
#!/bin/sh
-# $Id: test2.sh,v 1.3 2004-06-15 09:43:33 adam Exp $
+# $Id: test2.sh,v 1.4 2004-09-27 10:44:51 adam Exp $
pp=${srcdir:-"."}
LOG=test2.log
rm -f $LOG
pp=${srcdir:-"."}
LOG=test2.log
rm -f $LOG
-../../index/zebraidx -c $pp/zebra.cfg -l$LOG init
+
+if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.marcxml >/dev/null ; then
+ ../../index/zebraidx -c $pp/zebra.cfg -l $LOG $DBG init
+else
+ exit 0
+fi
+
../../index/zebraidx -c $pp/zebra.cfg -l$LOG -t grs.marcxml.record update $pp/sample-marc
../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket &
sleep 1
../../index/zebraidx -c $pp/zebra.cfg -l$LOG -t grs.marcxml.record update $pp/sample-marc
../../index/zebrasrv -c $pp/zebra.cfg -l$LOG unix:socket &
sleep 1