Compare commits

...

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

11 changed files with 56 additions and 27 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/stress-ng-0.15.00.tar.xz
*.swp
/stress-ng-*.tar.xz

View File

@ -1 +0,0 @@
7b907482a0574e87fd5608b3c1ac7a2f1aa76210 SOURCES/stress-ng-0.15.00.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
---
inspections:
badfuncs: off

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (stress-ng-0.17.01.tar.xz) = 8ef88e835d38143087ed5056433f632926ce3bd65eb52edc1a398a6320d241e0231bd56255f7d995e4baec78265bd4b82360b0fdae6f4804f1e6e94909bb5356

View File

@ -1,5 +1,5 @@
Name: stress-ng
Version: 0.15.00
Version: 0.17.01
Release: 1%{?dist}
Summary: Stress test a computer system in various ways
@ -25,9 +25,6 @@ BuildRequires: zlib-devel
BuildRequires: Judy-devel
# Patches
Patch1: 0001-stress-sysfs-check-for-zero-sysfs-entries-after-prun.patch
Patch2: 0002-stress-shm-skip-stressor-if-dev-shm-is-not-mounted-w.patch
Patch3: 0003-stress-shm-move-dev-shm-check-to-earlier-in-the-setu.patch
%description
Stress test a computer system in various ways. It was designed to exercise
@ -36,9 +33,6 @@ system kernel interfaces.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
export CFLAGS="%{optflags}"
@ -62,38 +56,34 @@ install -pm 644 bash-completion/%{name} \
%{_datadir}/bash-completion/completions/%{name}
%changelog
* Tue Nov 22 2022 John Kacur <jkacur@redhat.com> - 0.15.00-1
* Thu Nov 16 2023 John Kacur <jkacur@redhat.com> - 0.17.01-1
- Rebase to upstream V0.17.01
Resolves: RHEL-7859
* Mon Nov 21 2022 John Kacur <jkacur@redhat.com> - 0.15.00-1
- Rebase to upstream V0.15.00
- Add the following upstream patches
- stress-shm: move /dev/shm check to earlier in the setup phase
- stress-shm: skip stressor if /dev/shm is not mounted with tmpfs on linux
- stress-sysfs: check for zero sysfs entries after pruning the directory
Resolves: rhbz#2144068
Resolves: rhbz#2144070
* Tue Oct 18 2022 John Kacur <jkacur@redhat.com> - 0.14.06-1
- Rebase to upstream V0.14.06
Resolves: rhbz#2119872
Resolves: rhbz#2119871
* Fri Apr 22 2022 John Kacur <jkacur@redhat.com> - 0.14.00-2
- Add a local rpminspect.yaml file and disable badfuncs test
Resolves: rhbz#2077925
* Wed Apr 20 2022 John Kacur <jkacur@redhat.com> - 0.14.00-1
- Rebase to upstream V0.14.00
- Update Source URLs
Resolves: rhbz#2067584
Resolves: rhbz#2067588
* Fri Jan 14 2022 John Kacur <jkacur@redhat.com> - 0.13.10-1
- Rebase to upstream V0.13.10
Resolves: rhbz#2028573
* Mon Dec 06 2021 John Kacur <jkacur@redhat.com> - 0.13.00-5
- Change gating.yaml to read rhel-8
Resolves: rhbz#2017260
* Thu Nov 25 2021 John Kacur <jkacur@redhat.com> - 0.13.00-4
- Rebuild for rhel-8.6.0
Resolves: rhbz#2015162
* Mon Nov 01 2021 John Kacur <jkacur@redhat.com> - 0.13.00-3
- Rebuild for rhel-8.6.0
Resolves: rhbz#2015162
- Rebase to upstres V0.13.10
Resolves; rhbz#2018597
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.13.00-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags

View File

@ -0,0 +1,17 @@
#!/usr/bin/bash
# make sure we have stress-ng installed
if rpm -q --quiet stress-ng; then
:
else
sudo dnf install -y stress-ng
if [[ $? != 0 ]]; then
echo "install of stress-ng failed!"
exit 1
fi
fi
# See if stress-ng is installed and executable
stress-ng --help 2>> /dev/null
if [[ $? != 0 ]]; then
exit 2
fi

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh
required_packages:
- make
- stress-ng