aboutsummaryrefslogtreecommitdiff
path: root/testdummy.sh
blob: e8c4222a9156e4b9155271a7d0ed5f04e54f0bed (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
echo "Initializing..."
rm csaa.db
sqlite3 csaa.db < sqlinit.txt
./dummy_server 10 csaa.db > /dev/null &
pid=$!
sleep 1
time ./testcreate.sh ./dummy_client
time ./testmodify.sh ./dummy_client
time ./testretrieve.sh ./dummy_client
kill -SIGINT $!