summaryrefslogtreecommitdiffstats
path: root/coverage/scripts/run-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/scripts/run-test.sh')
-rwxr-xr-xcoverage/scripts/run-test.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/coverage/scripts/run-test.sh b/coverage/scripts/run-test.sh
new file mode 100755
index 00000000..ef280b64
--- /dev/null
+++ b/coverage/scripts/run-test.sh
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+export R=$(realpath $(dirname $0)/..)
+export PATH="$R/bin:$R/scripts:$PATH"
+
+$R/bin/afb-daemon-cov --help > /dev/null
+
+$R/bin/afb-daemon-cov --version > /dev/null
+
+$R/bin/afb-daemon-cov --fake-option > /dev/null
+
+$R/bin/afb-daemon-cov \
+ --verbose \
+ --verbose \
+ --verbose \
+ --verbose \
+ --quiet \
+ --quiet \
+ --quiet \
+ --quiet \
+ --quiet \
+ --quiet \
+ --log error,warning,notice,info,debug,critical,alert-error,warning,notice,info,debug,critical,alert+error,warning,notice,info,debug,critical,alert \
+ --foreground \
+ --name binder-cov \
+ --roothttp $R/www \
+ --rootbase /opx \
+ --rootapi /api \
+ --alias /icons:$R/www \
+ --apitimeout 90 \
+ --cntxtimeout 3600 \
+ --cache-eol 200 \
+ --workdir . \
+ --uploaddir . \
+ --rootdir . \
+ --ldpaths $R/ldpath/strong \
+ --binding $R/bin/demat.so \
+ --weak-ldpaths $R/ldpath/weak \
+ --auto-api $R/apis/auto \
+ --token HELLO \
+ --random-token \
+ --session-max 1000 \
+ --tracereq all \
+ --traceapi all \
+ --traceses all \
+ --traceevt all \
+ --call demat/ping:true \
+ --ws-server unix:$R/apis/ws/hello \
+ --ws-server unix:$R/apis/ws/salut \
+ --exec $R/scripts/run-parts.sh @p @t
+
+exit 0
+