diff --git a/tests/simple_build/shellcheck.fmf b/tests/simple_build/shellcheck.fmf new file mode 100644 index 0000000..04751ca --- /dev/null +++ b/tests/simple_build/shellcheck.fmf @@ -0,0 +1,11 @@ +summary: Test analysis using ShellCheck +test: ./test.sh +framework: beakerlib +environment: + TEST_PACKAGE: dracut + TEST_TOOL: shellcheck +component: + - csmock +recommend: + - csmock +duration: 1h diff --git a/tests/simple_build/test.sh b/tests/simple_build/test.sh index 9c0106e..3e684da 100755 --- a/tests/simple_build/test.sh +++ b/tests/simple_build/test.sh @@ -7,6 +7,10 @@ TEST_PACKAGE="${TEST_PACKAGE:-}" TEST_TOOL="${TEST_TOOL:-}" TEST_USER="csmock" +# Add CS Koji +BEAKERLIB_rpm_fetch_base_url+=( "https://kojihub.stream.centos.org/kojifiles/packages/" ) +BEAKERLIB_rpm_packageinfo_base_url+=( "https://kojihub.stream.centos.org/koji/" ) + rlJournalStart rlPhaseStartSetup # use the latest csutils in the Testing Farm