f1b0414c89
* remove dead / not needed code & scripts * don't rely on /dev/urandom in wizard * unified functional tests
23 lines
340 B
Bash
Executable file
23 lines
340 B
Bash
Executable file
#! /usr/bin/env bash
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
# sourced by other functionnal tests
|
|
|
|
PACKAGE_PATH="${PACKAGE_PATH:-./crowdsec.deb}"
|
|
|
|
CSCLI_BIN="cscli"
|
|
CSCLI="sudo ${CSCLI_BIN}"
|
|
JQ="jq -e"
|
|
|
|
SYSTEMCTL="sudo systemctl --no-pager"
|
|
|
|
CROWDSEC="sudo crowdsec"
|
|
|
|
# helpers
|
|
function fail {
|
|
echo "ACTION FAILED, STOP : $@"
|
|
caller
|
|
exit 1
|
|
}
|