aboutsummaryrefslogtreecommitdiff
path: root/.builds/smoketest-builtin.sh
diff options
context:
space:
mode:
Diffstat (limited to '.builds/smoketest-builtin.sh')
-rwxr-xr-x.builds/smoketest-builtin.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/.builds/smoketest-builtin.sh b/.builds/smoketest-builtin.sh
new file mode 100755
index 0000000..acf4640
--- /dev/null
+++ b/.builds/smoketest-builtin.sh
@@ -0,0 +1,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