aboutsummaryrefslogtreecommitdiff
path: root/testall.sh
blob: 42df4f5019e2eda5e3ef59d1d4efe682e9b38e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
if [[ $# -ne 1 ]]
then
   echo "Usage: "$0" LOGLEAVES"
   exit 1
fi
echo "Initializing..."
./server $1 csaa.db --overwrite > /dev/null &
pid=$!
sleep 5
time ./testcreate.sh ./client
time ./testmodify.sh ./client
time ./testretrieve.sh ./client
time ./testmodifyenc.sh ./client

echo "Encrypted retrieve: "
time ./testretrieve.sh ./client
kill -SIGINT $!