summaryrefslogtreecommitdiffstats
path: root/tests/updater_checks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/updater_checks.sh')
-rwxr-xr-xtests/updater_checks.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/updater_checks.sh b/tests/updater_checks.sh
new file mode 100755
index 000000000..dce136853
--- /dev/null
+++ b/tests/updater_checks.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+#
+# Wrapper script that installs the required dependencies
+# for the BATS script to run successfully
+#
+# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Author : Pavlos Emm. Katsoulakis <paul@netdata.cloud)
+#
+
+echo "Installing extra dependencies.."
+yum install -y epel-release
+yum install -y git bats
+
+echo "Running BATS file.."
+bats --tap tests/updater_checks.bats