175
$(RUNENV) ./ttserver -host $(test_host) -port $(test_port) -le -pid $(test_pid) -dmn
176
$(RUNENV) $(RUNCMD) ./tcrmgr version
177
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 -rnd $(test_host) 50000
178
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 -nr -rnd $(test_host) 50000
179
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 $(test_host) 50000
180
$(RUNENV) $(RUNCMD) ./tcrtest read -port $(test_port) -cnum 5 -tout 5 $(test_host)
181
$(RUNENV) $(RUNCMD) ./tcrtest read -port $(test_port) -cnum 5 -tout 5 -mul 5 $(test_host)
182
$(RUNENV) $(RUNCMD) ./tcrtest remove -port $(test_port) -cnum 5 -tout 5 $(test_host)
183
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 $(test_host) 50000
184
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -shl 50 $(test_host) 50000
185
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host)
186
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -dad $(test_host) 50000
187
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -ext putcat -xlr $(test_host) 50000
188
$(RUNENV) $(RUNCMD) ./tcrtest misc -port $(test_port) -cnum 5 -tout 5 $(test_host) 5000
189
$(RUNENV) $(RUNCMD) ./tcrtest wicked -port $(test_port) -cnum 5 -tout 5 $(test_host) 5000
190
$(RUNENV) $(RUNCMD) ./tcrmgr inform -port $(test_port) $(test_host)
191
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host)
192
$(RUNENV) $(RUNCMD) ./tcrmttest write -port $(test_port) -tnum 5 $(test_host) 5000
193
$(RUNENV) $(RUNCMD) ./tcrmttest read -port $(test_port) -tnum 5 $(test_host)
194
$(RUNENV) $(RUNCMD) ./tcrmttest remove -port $(test_port) -tnum 5 $(test_host)
195
$(RUNENV) $(RUNCMD) ./tcrmttest write -port $(test_port) -tnum 5 -ext putcat -rnd $(test_host) 5000
196
$(RUNENV) $(RUNCMD) ./tcrmttest typical -port $(test_port) -tnum 5 $(test_host) 5000
197
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host)
198
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) one first
199
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) two second
200
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dk $(test_host) three third
201
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third
202
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third
203
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third
204
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) four fourth
205
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dk $(test_host) five fifth
206
$(RUNENV) $(RUNCMD) ./tcrmgr out -port $(test_port) $(test_host) one
207
$(RUNENV) $(RUNCMD) ./tcrmgr out -port $(test_port) $(test_host) two
208
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) three > check.out
209
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) four > check.out
210
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) five > check.out
211
$(RUNENV) $(RUNCMD) ./tcrmgr mget -port $(test_port) $(test_host) one two three four five > check.out
212
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) putlist six sixth seven seventh
213
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) outlist six
214
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) getlist three four five six > check.out
215
$(RUNENV) $(RUNCMD) ./tcrmgr list -port $(test_port) -pv $(test_host) > check.out
216
$(RUNENV) $(RUNCMD) ./tcrmgr list -port $(test_port) -pv -fm f $(test_host) > check.out
217
kill `cat $(test_pid)`
176
if [ $(test_start_stop) -eq 1 ]; then \
178
export LD_LIBRARY_PATH; \
179
start-stop-daemon -v -S -p $(test_pid) -d `pwd` --exec `pwd`/ttserver \
180
-- -host $(test_host) -port $(test_port) \
181
-ld -dmn -pid $(test_pid) || exit 1; \
183
trap "start-stop-daemon -v -K -R TERM/30/KILL/5 -p $(test_pid) && rm -f $(test_pid)" 0; \
186
for i in `seq 5`; do \
187
$(RUNENV) ./tcrmgr inform -port $(test_port) $(test_host) > /dev/null && break; \
191
$(RUNENV) $(RUNCMD) ./tcrmgr version; \
192
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 -rnd $(test_host) 50000; \
193
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 -nr -rnd $(test_host) 50000; \
194
$(RUNENV) $(RUNCMD) ./tcrtest write -port $(test_port) -cnum 5 -tout 5 $(test_host) 50000; \
195
$(RUNENV) $(RUNCMD) ./tcrtest read -port $(test_port) -cnum 5 -tout 5 $(test_host); \
196
$(RUNENV) $(RUNCMD) ./tcrtest read -port $(test_port) -cnum 5 -tout 5 -mul 5 $(test_host); \
197
$(RUNENV) $(RUNCMD) ./tcrtest remove -port $(test_port) -cnum 5 -tout 5 $(test_host); \
198
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 $(test_host) 50000; \
199
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -shl 50 $(test_host) 50000; \
200
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host); \
201
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -dad $(test_host) 50000; \
202
$(RUNENV) $(RUNCMD) ./tcrtest rcat -port $(test_port) -cnum 5 -tout 5 -ext putcat -xlr $(test_host) 50000; \
203
$(RUNENV) $(RUNCMD) ./tcrtest misc -port $(test_port) -cnum 5 -tout 5 $(test_host) 5000; \
204
$(RUNENV) $(RUNCMD) ./tcrtest wicked -port $(test_port) -cnum 5 -tout 5 $(test_host) 5000; \
205
$(RUNENV) $(RUNCMD) ./tcrmgr inform -port $(test_port) $(test_host); \
206
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host); \
207
$(RUNENV) $(RUNCMD) ./tcrmttest write -port $(test_port) -tnum 5 $(test_host) 5000; \
208
$(RUNENV) $(RUNCMD) ./tcrmttest read -port $(test_port) -tnum 5 $(test_host); \
209
$(RUNENV) $(RUNCMD) ./tcrmttest remove -port $(test_port) -tnum 5 $(test_host); \
210
$(RUNENV) $(RUNCMD) ./tcrmttest write -port $(test_port) -tnum 5 -ext putcat -rnd $(test_host) 5000; \
211
$(RUNENV) $(RUNCMD) ./tcrmttest typical -port $(test_port) -tnum 5 $(test_host) 5000; \
212
$(RUNENV) $(RUNCMD) ./tcrmgr vanish -port $(test_port) $(test_host); \
213
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) one first; \
214
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) two second; \
215
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dk $(test_host) three third; \
216
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third; \
217
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third; \
218
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dc $(test_host) three third; \
219
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) $(test_host) four fourth; \
220
$(RUNENV) $(RUNCMD) ./tcrmgr put -port $(test_port) -dk $(test_host) five fifth; \
221
$(RUNENV) $(RUNCMD) ./tcrmgr out -port $(test_port) $(test_host) one; \
222
$(RUNENV) $(RUNCMD) ./tcrmgr out -port $(test_port) $(test_host) two; \
223
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) three > check.out; \
224
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) four > check.out; \
225
$(RUNENV) $(RUNCMD) ./tcrmgr get -port $(test_port) $(test_host) five > check.out; \
226
$(RUNENV) $(RUNCMD) ./tcrmgr mget -port $(test_port) $(test_host) one two three four five > check.out; \
227
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) putlist six sixth seven seventh; \
228
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) outlist six; \
229
$(RUNENV) $(RUNCMD) ./tcrmgr misc -port $(test_port) $(test_host) getlist three four five six > check.out; \
230
$(RUNENV) $(RUNCMD) ./tcrmgr list -port $(test_port) -pv $(test_host) > check.out; \
231
$(RUNENV) $(RUNCMD) ./tcrmgr list -port $(test_port) -pv -fm f $(test_host) > check.out; \
220
232
rm -rf ulog ; mkdir -p ulog
221
233
$(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 ulog 5000
222
234
$(RUNENV) $(RUNCMD) ./ttultest write -lim 10000 -as ulog 5000