re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:13:36 +02:00
parent a8abf6c3ec
commit 46e1551f79
3 changed files with 31 additions and 3 deletions

5
.gitignore vendored
View File

@ -1,3 +1,2 @@
/stress-ng-0.13.10.tar.xz
/stress-ng-0.14.00.tar.xz
/stress-ng-0.15.00.tar.xz
*.swp
/stress-ng-*.tar.xz

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