add functionnal test for hubtest (#996)

* add hubtest in functionnal test
This commit is contained in:
AlteredCoder 2021-10-05 09:52:55 +02:00 committed by GitHub
parent de87d0d951
commit 37eedce72e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 24 deletions

View file

@ -0,0 +1,12 @@
#! /usr/bin/env bash
# -*- coding: utf-8 -*-
source tests_base.sh
CURRENT_DIR=$(pwd)
git clone https://github.com/crowdsecurity/hub.git
cd hub/
${CSCLI} hubtest run --all
cd "${CURRENT_DIR}"