aboutsummaryrefslogtreecommitdiff
path: root/testall.sh
blob: dfc99729c278c2f73ed615e9c63245649612579c (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 1
/usr/bin/time -v ./testcreate.sh ./client
/usr/bin/time -v ./testmodify.sh ./client
/usr/bin/time -v ./testretrieve.sh ./client
/usr/bin/time -v ./testmodifyenc.sh ./client

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