Added test scripts
[idzebra-moved-to-github.git] / test / gils / t3.sh
1 test -f zebrasrv.pid || exit 1
2 ../../../yaz/zoom/zoomtst1 localhost:9901 utah > log || exit 3
3 grep "^Result count: 17$" log || exit 4
4 ../../../yaz/zoom/zoomtst1 localhost:9901 "@or utah the" > log || exit 5
5 grep "^Result count: 40$" log || exit 6
6 ../../../yaz/zoom/zoomtst1 localhost:9901 "@attr 1=4 the" > log || exit 7
7 grep "^Result count: 1$" log || exit 8
8 ../../../yaz/zoom/zoomtst1 localhost:9901 "@attr 1=4 utah" > log || exit 9
9 grep "^Result count: 9$" log || exit 10
10 ../../index/zebraidx -l idx.log -c  zebra1.cfg update records || exit 11
11 ../../../yaz/zoom/zoomtst1 localhost:9901 "@attr 1=4 utah" > log || exit 12
12 grep "^Result count: 18$" log || exit 14