projects
/
pazpar2-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:
5efba9a
)
Add service as 3rd parameter
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 4 May 2010 14:18:59 +0000
(16:18 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 4 May 2010 14:18:59 +0000
(16:18 +0200)
perf/bash/client.sh
patch
|
blob
|
history
diff --git
a/perf/bash/client.sh
b/perf/bash/client.sh
index
c48e89e
..
9f1c4c0
100755
(executable)
--- a/
perf/bash/client.sh
+++ b/
perf/bash/client.sh
@@
-8,10
+8,14
@@
PORT=$2
if test -z "$PORT"; then
PORT=9004
fi
+SERVICE=$3
+if test -z "$SERVICE"; then
+ SERVICE=perf
+fi
H="http://localhost:${PORT}/search.pz2"
-wget -q -O $OF.init.xml "$H/?command=init&service=perf&extra=$OF"
+wget -q -O $OF.init.xml "$H/?command=init&service=${SERVICE}&extra=$OF"
S=`xsltproc get_session.xsl $OF.init.xml`
wget -q -O $OF.search.xml "$H?command=search&query=100&session=$S"
sleep 1