diff --git a/tests/99_community_checks.sh b/tests/99_community_checks.sh new file mode 100644 index 0000000..a800b09 --- /dev/null +++ b/tests/99_community_checks.sh @@ -0,0 +1,18 @@ +#!/bin/sh +check_c() { + logit "\n" + info "99 - Community contributed checks" +} + +# check_c_1 +check_c_1() { + check_c_1="C.1 - This is a example check" + totalChecks=$((totalChecks + 1)) + if docker info --format='{{ .Architecture }}' | grep 'x86_64'; then + pass "$check_c_1" + logjson "c.1" "PASS" + else + warn "$check_c_1" + logjson "c.1" "WARN" + fi +}