From 8052e4f14440ba60b19bd0338c663c72d3731c70 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 10 Jul 2023 14:18:09 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 8 +++++++- tests/cmd-line/runtest.sh | 15 +++++++++++++++ tests/gating.yaml | 6 ++++++ tests/tests.yml | 10 ++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100755 tests/cmd-line/runtest.sh create mode 100644 tests/gating.yaml create mode 100644 tests/tests.yml 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