re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-06-29 14:47:17 +02:00
parent 0eb097ab98
commit 7a2fee6bcb
5 changed files with 30 additions and 2 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/pigz-2.4.tar.gz
/pigz-2.4.tar.gz
/*.tar.*
*.rpm

3
tests/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
artifacts/
*.patch
*.diff

9
tests/run_tests.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# when running this in 1minutetip the PATH must be specified to execute
# in the local directory.
echo "Setting path to local directory"
PATH=$PATH:$(pwd)
# simple version test
version.sh

9
tests/tests.yml Normal file
View File

@ -0,0 +1,9 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test

7
tests/version.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#
# This is a simple version test to satisfy the RHEL8.1 onboard gating
# requirement.
pigz --version
exit $?