re-import sources as agreed with the maintainer
This commit is contained in:
parent
a8abf6c3ec
commit
46e1551f79
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/stress-ng-0.13.10.tar.xz
|
*.swp
|
||||||
/stress-ng-0.14.00.tar.xz
|
/stress-ng-*.tar.xz
|
||||||
/stress-ng-0.15.00.tar.xz
|
|
||||||
|
17
tests/scripts/run_tests.sh
Normal file
17
tests/scripts/run_tests.sh
Normal 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
12
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user