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
Require YAZ 2.0.27 in configure
[idzebra-moved-to-github.git]
/
test
/
xpath
/
simple1.sh
diff --git
a/test/xpath/simple1.sh
b/test/xpath/simple1.sh
index
239811c
..
3d4d940
100755
(executable)
--- a/
test/xpath/simple1.sh
+++ b/
test/xpath/simple1.sh
@@
-1,13
+1,15
@@
#!/bin/sh
#!/bin/sh
-# $Id: simple1.sh,v 1.3 2003-05-21 14:39:23 adam Exp $
+# $Id: simple1.sh,v 1.4 2004-06-15 09:43:34 adam Exp $
# test with one simple sgml record
# test with one simple sgml record
+pp=${srcdir:-"."}
+
LOG=simple1.log
LOG=simple1.log
-../../index/zebraidx -l $LOG init || exit 1
-../../index/zebraidx -l $LOG update simple1.xml || exit 1
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG init || exit 1
+../../index/zebraidx -c $pp/zebra.cfg -l $LOG update $pp/simple1.xml || exit 1
echo "Starting server " >> $LOG
echo "Starting server " >> $LOG
-../../index/zebrasrv -l $LOG -S unix:socket &
+../../index/zebrasrv -c $pp/zebra.cfg -l $LOG -S unix:socket &
sleep 1
test -f zebrasrv.pid || exit 2
sleep 1
test -f zebrasrv.pid || exit 2