Artifact 9287190e12b59bdf15c6d45a83ef62cbd2718374:
- Executable file rpctest/run-client.sh — part of check-in [3c88ad926f] at 2015-12-07 21:32:09 on branch v1.60 — Added script to run client and a little help to header of rpctest.scm (user: matt, size: 385) [annotate] [blame] [check-ins using]
#!/bin/bash while ./rpctest client "insert into foo (var,val) values ($RANDOM,$RANDOM);";do numrows=$(./rpctest client "select * from foo;"|wc -l) deletefrom=$RANDOM echo "numrows=$numrows, deletefrom=$deletefrom" if [[ $numrows -gt 300 ]];then echo "numrows=$numrows, deletefrom=$deletefrom" ./rpctest client "delete from foo where var > $deletefrom;" fi done