diff --git a/.gitignore b/.gitignore index df5d7fb..ac202a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,8 @@ -SOURCES/1.2.3.tar.gz +/isomd5sum-1.0.11.tar.bz2 +/isomd5sum-1.0.12.tar.bz2 +/1.0.12.tar.gz +/1.1.0.tar.gz +/1.2.0.tar.gz +/1.2.1.tar.gz +/1.2.2.tar.gz /1.2.3.tar.gz diff --git a/tests/cmd-line/runtest.sh b/tests/cmd-line/runtest.sh new file mode 100755 index 0000000..1f2f20e --- /dev/null +++ b/tests/cmd-line/runtest.sh @@ -0,0 +1,15 @@ +#!/bin/sh -eux + +# Create testing iso image +rm -rf ./isocontent +mkdir isocontent +dd if=/dev/zero of=isocontent/big_enough_file bs=500K count=1 +mkisofs -o test.iso isocontent + +# Implant and check md5 sum +implantisomd5 test.iso +checkisomd5 --verbose test.iso + +# Destroy testing iso image +rm -rf ./isocontent +rm test.iso diff --git a/tests/gating.yaml b/tests/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/tests/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..82be2b1 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,10 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - cmd-line + required_packages: + - genisoimage + - coreutils