diff options
Diffstat (limited to 'tests/scan.sh')
-rwxr-xr-x | tests/scan.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/scan.sh b/tests/scan.sh new file mode 100755 index 0000000..15dd39f --- /dev/null +++ b/tests/scan.sh @@ -0,0 +1,10 @@ +#!/bin/sh -e + +if [ "x$SCANNER" = "x" ] ; then + echo "No scanner present, test skipped." 1>&2 + exit 77 +fi + +$SCANNER client-header $1 /dev/null +$SCANNER server-header $1 /dev/null +$SCANNER code $1 /dev/null |