aboutsummaryrefslogtreecommitdiff
path: root/testdummy.sh
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-06-30 21:05:37 -0400
committerFranklin Wei <me@fwei.tk>2018-06-30 21:05:37 -0400
commit184259533766b96bf1782448c0fe0efa000db17e (patch)
tree7826ac5b8dacecc3fca59eafcfa70825cbd27c89 /testdummy.sh
parentf0519032a59aff4ca9edcb2916e094db93e08942 (diff)
downloadcsaa-184259533766b96bf1782448c0fe0efa000db17e.zip
csaa-184259533766b96bf1782448c0fe0efa000db17e.tar.gz
csaa-184259533766b96bf1782448c0fe0efa000db17e.tar.bz2
csaa-184259533766b96bf1782448c0fe0efa000db17e.tar.xz
Add performance test for dummy client/server
Diffstat (limited to 'testdummy.sh')
-rwxr-xr-xtestdummy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/testdummy.sh b/testdummy.sh
new file mode 100755
index 0000000..2623601
--- /dev/null
+++ b/testdummy.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+./dummy_server 10 csaa.db --overwrite > /dev/null &
+pid=$!
+sleep 5
+time ./testcreate.sh ./dummy_client
+time ./testmodify.sh ./dummy_client
+kill -SIGINT $!