aboutsummaryrefslogtreecommitdiff
path: root/testdummy.sh
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-03 15:00:57 -0400
committerFranklin Wei <me@fwei.tk>2018-07-03 15:01:25 -0400
commit9be8af8a7404eebf13186539db6e7cb3e7499692 (patch)
tree652479e9bb3145c9d12e7e94cc91426f147137e9 /testdummy.sh
parentcf207a90591da839248aeffa99cb47077113a7e3 (diff)
downloadcsaa-9be8af8a7404eebf13186539db6e7cb3e7499692.zip
csaa-9be8af8a7404eebf13186539db6e7cb3e7499692.tar.gz
csaa-9be8af8a7404eebf13186539db6e7cb3e7499692.tar.bz2
csaa-9be8af8a7404eebf13186539db6e7cb3e7499692.tar.xz
Use 64-bit integers where appropriate
Should allow the use of larger logleaves values (> 32).
Diffstat (limited to 'testdummy.sh')
-rwxr-xr-xtestdummy.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/testdummy.sh b/testdummy.sh
index 1d3bf97..e8c4222 100755
--- a/testdummy.sh
+++ b/testdummy.sh
@@ -1,15 +1,10 @@
#!/bin/bash
-if [[ $# -ne 1 ]]
-then
- echo "Usage: "$0" LOGLEAVES"
- exit 1
-fi
echo "Initializing..."
rm csaa.db
sqlite3 csaa.db < sqlinit.txt
-./dummy_server $1 csaa.db > /dev/null &
+./dummy_server 10 csaa.db > /dev/null &
pid=$!
-sleep 5
+sleep 1
time ./testcreate.sh ./dummy_client
time ./testmodify.sh ./dummy_client
time ./testretrieve.sh ./dummy_client