aboutsummaryrefslogtreecommitdiff
path: root/testdummy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testdummy.sh')
-rwxr-xr-xtestdummy.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/testdummy.sh b/testdummy.sh
index 547c510..1d3bf97 100755
--- a/testdummy.sh
+++ b/testdummy.sh
@@ -5,7 +5,9 @@ then
exit 1
fi
echo "Initializing..."
-./dummy_server 10 csaa.db --overwrite > /dev/null &
+rm csaa.db
+sqlite3 csaa.db < sqlinit.txt
+./dummy_server $1 csaa.db > /dev/null &
pid=$!
sleep 5
time ./testcreate.sh ./dummy_client