[MM-26886]: check enterprise prereqs before running tests (#15083)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
38557c4023
Коммит
7e3d76b9a2
11
scripts/prereq-check-enterprise.sh
Исполняемый файл
11
scripts/prereq-check-enterprise.sh
Исполняемый файл
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
check_prereq()
|
||||
{
|
||||
local dependency=$1
|
||||
type "$dependency" >/dev/null 2>&1 || { echo >&2 "Mattermost Enterprise requires '$dependency' but it doesn't appear to be installed. Aborting."; exit 1; }
|
||||
}
|
||||
|
||||
echo "Checking enterprise prerequisites"
|
||||
|
||||
check_prereq 'xmlsec1'
|
||||
Ссылка в новой задаче
Block a user