Reduce output for tests
[idzebra-moved-to-github.git] / test / config / test2.sh
index 3357251..0557c8e 100755 (executable)
@@ -1,7 +1,8 @@
 #!/bin/sh
-if ../../index/zebraidx -V|grep Tcl >/dev/null; then
-       ../../index/zebraidx init
-       ../../index/zebraidx -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null
+LOG=test2.log
+if ../../index/zebraidx -l $LOG -V|grep Tcl >/dev/null; then
+       ../../index/zebraidx -l $LOG init
+       ../../index/zebraidx -l $LOG -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null
 else
        exit 0
 fi