Code Repositories xandikos / 732dde6
Support running against system litmus. Jelmer Vernooń≥ 2 years ago
2 changed file(s) with 10 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
33 echo "Usage: $0 URL"
44 exit 1
55 fi
6 if [ -n "$2" ]; then
7 TEST_ARG=TESTS="$2"
6 if [ -n "$TESTS" ]; then
7 TEST_ARG=TESTS="$TESTS"
88 fi
99 SRCPATH="$(dirname $(readlink -m $0))"
1010 VERSION=0.13
0 #!/bin/bash
0 #!/bin/bash -x
11 # Run litmus against xandikos
22
33 TESTS="$1"
2525
2626 run_xandikos
2727
28 $(dirname $0)/litmus.sh http://localhost:5233/ "$TESTS"
28 if which litmus >/dev/null; then
29 LITMUS=litmus
30 else
31 LITMUS="$(dirname $0)/litmus.sh"
32 fi
33
34 TESTS="$TESTS" $LITMUS http://localhost:5233/