projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3bdbcd2
)
Fix test
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 5 Sep 2003 12:33:39 +0000
(12:33 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 5 Sep 2003 12:33:39 +0000
(12:33 +0000)
test/sort/test1.sh
patch
|
blob
|
history
diff --git
a/test/sort/test1.sh
b/test/sort/test1.sh
index
8fcc2cc
..
091de73
100755
(executable)
--- a/
test/sort/test1.sh
+++ b/
test/sort/test1.sh
@@
-1,5
+1,7
@@
#!/bin/sh
#!/bin/sh
-# $Id: test1.sh,v 1.3 2003-05-21 14:39:22 adam Exp $
+# $Id: test1.sh,v 1.4 2003-09-05 12:33:39 adam Exp $
+ulimit -c 10000
+set -x
LOG=test1.log
rm -fr lock
mkdir lock
LOG=test1.log
rm -fr lock
mkdir lock
@@
-11,7
+13,7
@@
cp rec*.xml recs
../../index/zebraidx -l $LOG update recs || exit 1
../../index/zebrasrv -l $LOG unix:socket &
sleep 1
../../index/zebraidx -l $LOG update recs || exit 1
../../index/zebrasrv -l $LOG unix:socket &
sleep 1
-test -f zebrasrv.pid || exit 2
+test -f lock/zebrasrv.pid || exit 2
../api/testclient -n3 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1
echo 'Result count: 3
my:
../api/testclient -n3 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1
echo 'Result count: 3
my:
@@
-23,5
+25,5
@@
my:
title: first computer
dateTime: 2' >tmp2
title: first computer
dateTime: 2' >tmp2
-kill `cat zebrasrv.pid`
+kill `cat lock/zebrasrv.pid`
diff tmp1 tmp2
diff tmp1 tmp2