aboutsummaryrefslogtreecommitdiff
path: root/.builds/smoketest-builtin.sh
blob: acf46404928eca420d009e7a6203d75ab29d41e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

res=0
#
# Run simpletest a few times
#
cnt=0
while [ "$cnt" -lt 5 ]
do
   echo "Simpletest run $cnt"
   if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest
   then
      echo "Simpletest failed"
      res=1
      break
   fi
   cnt=$((cnt+1))
done


exit $res