Artifact 7217b9abad5d9406e14443f69eef608b37b4a4aa:
- Executable file rpctest/run-client.sh — part of check-in [cf97950521] at 2015-12-07 22:26:52 on branch v1.60 — Switched rcp test to use sql-de-lite (user: matt, size: 397) [annotate] [blame] [check-ins using] [more...]
#!/bin/bash while ./rpctest client "insert into foo (var,val) values ($RANDOM,$RANDOM);";do numrows=$(./rpctest client "select count(id) 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