Compare commits

...

No commits in common. "imports/c9/stress-ng-0.13.10-1.el9" and "c8s" have entirely different histories.

7 changed files with 79 additions and 7 deletions

3
.gitignore vendored
View File

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

View File

@ -1 +0,0 @@
0a3e6d112780c1f7230a175fae02aeaeee9d5437 SOURCES/stress-ng-0.13.10.tar.xz

6
gating.yaml Normal file
View File

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

1
sources Normal file
View File

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

View File

@ -1,11 +1,14 @@
Name: stress-ng
Version: 0.13.10
Version: 0.17.01
Release: 1%{?dist}
Summary: Stress test a computer system in various ways
License: GPLv2+
URL: https://kernel.ubuntu.com/~cking/%{name}
Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
URL: https://github.com/ColinIanKing/%{name}/tarball
Source0: https://github.com/ColinIanKing/%{name}/tarball/%{name}-%{version}.tar.xz
# Work around for ld.gold error
%undefine _package_note_flags
BuildRequires: make
BuildRequires: gcc
@ -53,9 +56,42 @@ install -pm 644 bash-completion/%{name} \
%{_datadir}/bash-completion/completions/%{name}
%changelog
* Wed Nov 15 2023 John Kacur <jkacur@redhat.com> - 0.17.01-1
- Rebase to upstream V0.17.01
Resolves: RHEL-8966
* Tue Nov 22 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
* Tue Oct 18 2022 John Kacur <jkacur@redhat.com> - 0.14.06-1
- Rebase to upstream V0.14.06
Resolves: rhbz#2119872
* 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
* Fri Jan 14 2022 John Kacur <jkacur@redhat.com> - 0.13.10-1
- Rebase to upstres V0.13.10
Resolves; rhbz#2018597
- 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
* 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