aboutsummaryrefslogtreecommitdiff
path: root/testdummy.sh
diff options
context:
space:
mode:
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