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
New test marcxml
[idzebra-moved-to-github.git]
/
test
/
malxml
/
test1.sh
diff --git
a/test/malxml/test1.sh
b/test/malxml/test1.sh
index
eb12cd1
..
6cda301
100755
(executable)
--- a/
test/malxml/test1.sh
+++ b/
test/malxml/test1.sh
@@
-1,3
+1,9
@@
#!/bin/sh
#!/bin/sh
-../../index/zebraidx init
-../../index/zebraidx update f1.xml
+LOG=test1.log
+rm -f $LOG
+if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then
+ ../../index/zebraidx -l$LOG init
+else
+ exit 0
+fi
+../../index/zebraidx -l $LOG update f1.xml